Mailinglist Archive: yast-commit (939 mails)

< Previous Next >
[yast-commit] r53662 - in /trunk/sudo/src: dialog-cmnd.ycp dialog-host.ycp dialog-runas.ycp dialog-spec.ycp dialog-user.ycp
  • From: kmachalkova@xxxxxxxxxxxxxxxx
  • Date: Thu, 27 Nov 2008 15:53:34 -0000
  • Message-id: <20081127155334.7DD58B7C96@xxxxxxxxxxxxxxxx>
Author: kmachalkova
Date: Thu Nov 27 16:53:34 2008
New Revision: 53662

URL: http://svn.opensuse.org/viewcvs/yast?rev=53662&view=rev
Log:
Now the abort button is hidden, we don't need
any of those

Modified:
trunk/sudo/src/dialog-cmnd.ycp
trunk/sudo/src/dialog-host.ycp
trunk/sudo/src/dialog-runas.ycp
trunk/sudo/src/dialog-spec.ycp
trunk/sudo/src/dialog-user.ycp

Modified: trunk/sudo/src/dialog-cmnd.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-cmnd.ycp?rev=53662&r1=53661&r2=53662&view=diff
==============================================================================
--- trunk/sudo/src/dialog-cmnd.ycp (original)
+++ trunk/sudo/src/dialog-cmnd.ycp Thu Nov 27 16:53:34 2008
@@ -63,12 +63,8 @@
while(true) {

ret = UI::UserInput();
- /* abort? */
- if(ret == `abort) {
- if(Sudo::Abort()) break;
- else continue;
/* next */
- } else if(ret == `next) {
+ if(ret == `next) {
string new_alias = toupper ((string)
UI::QueryWidget(`id("cmnd_alias_name"),`Value));
if (new_alias == "") {
Popup::Error(_("Alias name must not be empty."));

Modified: trunk/sudo/src/dialog-host.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-host.ycp?rev=53662&r1=53661&r2=53662&view=diff
==============================================================================
--- trunk/sudo/src/dialog-host.ycp (original)
+++ trunk/sudo/src/dialog-host.ycp Thu Nov 27 16:53:34 2008
@@ -63,14 +63,8 @@
while(true) {

ret = UI::UserInput();
- /* abort? */
- if(ret == `abort) {
- if(Sudo::Abort())
- break;
- else
- continue;
/* next */
- } else if(ret == `next) {
+ if(ret == `next) {
string new_alias = toupper((string)
UI::QueryWidget(`id("host_alias_name"),`Value));

if (new_alias == "") {

Modified: trunk/sudo/src/dialog-runas.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-runas.ycp?rev=53662&r1=53661&r2=53662&view=diff
==============================================================================
--- trunk/sudo/src/dialog-runas.ycp (original)
+++ trunk/sudo/src/dialog-runas.ycp Thu Nov 27 16:53:34 2008
@@ -82,12 +82,8 @@
while(true) {

ret = UI::UserInput();
- /* abort? */
- if(ret == `abort) {
- if(Sudo::Abort()) break;
- else continue;
/* next */
- }else if(ret == `next) {
+ if(ret == `next) {
string new_alias = toupper((string)
UI::QueryWidget(`id("runas_alias_name"),`Value));
if (new_alias == "") {
Popup::Error(_("Alias name must not be empty."));

Modified: trunk/sudo/src/dialog-spec.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-spec.ycp?rev=53662&r1=53661&r2=53662&view=diff
==============================================================================
--- trunk/sudo/src/dialog-spec.ycp (original)
+++ trunk/sudo/src/dialog-spec.ycp Thu Nov 27 16:53:34 2008
@@ -81,12 +81,8 @@
while(true) {

ret = UI::UserInput();
- /* abort? */
- if(ret == `abort) {
- if(Sudo::Abort()) break;
- else continue;
/* next */
- } else if(ret == `next) {
+ if(ret == `next) {
spec["user"] = UI::QueryWidget(`id("user_name"),`Value);
spec["host"] = UI::QueryWidget(`id("host_name"),`Value);
spec["run_as"] =
(string)UI::QueryWidget(`id("run_as"),`Value);

Modified: trunk/sudo/src/dialog-user.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-user.ycp?rev=53662&r1=53661&r2=53662&view=diff
==============================================================================
--- trunk/sudo/src/dialog-user.ycp (original)
+++ trunk/sudo/src/dialog-user.ycp Thu Nov 27 16:53:34 2008
@@ -81,12 +81,8 @@
while(true) {

ret = UI::UserInput();
- /* abort? */
- if(ret == `abort) {
- if(Sudo::Abort()) break;
- else continue;
/* next */
- }else if(ret == `next) {
+ if(ret == `next) {
string new_alias = toupper ((string)
UI::QueryWidget(`id("user_alias_name"),`Value));
if (new_alias == "") {
Popup::Error(_("Alias name must not be empty."));

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages