[yast-commit] r55781 - in /trunk/sudo/src: complex.ycp dialog-cmnd.ycp dialog-host.ycp
Author: kmachalkova Date: Thu Feb 26 10:44:14 2009 New Revision: 55781 URL: http://svn.opensuse.org/viewcvs/yast?rev=55781&view=rev Log: use InputFields, use ButtonBoxes Modified: trunk/sudo/src/complex.ycp trunk/sudo/src/dialog-cmnd.ycp trunk/sudo/src/dialog-host.ycp Modified: trunk/sudo/src/complex.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/complex.ycp?rev=55781&r1=55780&r2=55781&view=diff ============================================================================== --- trunk/sudo/src/complex.ycp (original) +++ trunk/sudo/src/complex.ycp Thu Feb 26 10:44:14 2009 @@ -87,10 +87,9 @@ `InputField(`id("host_name"),_("Hostname or Network"), new_host) ) ), - `HBox( - `PushButton(`id(`ok), Label::OKButton()), - `HSpacing(1), - `PushButton(`id(`cancel), Label::CancelButton()) + `ButtonBox( + `PushButton(`id(`ok), `opt(`default, `okButton), Label::OKButton()), + `PushButton(`id(`cancel), `opt(`cancelButton), Label::CancelButton()) ) )); @@ -123,10 +122,9 @@ `ComboBox(`id("user_name"),_("Local and System Users (Groups)"), users) ) ), - `HBox( - `PushButton(`id(`ok), Label::OKButton()), - `HSpacing(1), - `PushButton(`id(`cancel), Label::CancelButton()) + `ButtonBox( + `PushButton(`id(`ok), `opt(`default, `okButton), Label::OKButton()), + `PushButton(`id(`cancel), `opt(`cancelButton), Label::CancelButton()) ) )); @@ -179,10 +177,9 @@ ) ), `VSpacing(0.5), - `HBox( - `PushButton(`id(`ok), Label::OKButton()), - `HSpacing(1), - `PushButton(`id(`cancel), Label::CancelButton()) + `ButtonBox( + `PushButton(`id(`ok), `opt(`default, `okButton), Label::OKButton()), + `PushButton(`id(`cancel), `opt(`cancelButton), Label::CancelButton()) ) )); Modified: trunk/sudo/src/dialog-cmnd.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-cmnd.ycp?rev=55781&r1=55780&r2=55781&view=diff ============================================================================== --- trunk/sudo/src/dialog-cmnd.ycp (original) +++ trunk/sudo/src/dialog-cmnd.ycp Thu Feb 26 10:44:14 2009 @@ -39,7 +39,7 @@ } term contents = `VBox ( - `TextEntry(`id("cmnd_alias_name"),_("Alias Name (in CAPITALS)")), + `Left(`InputField(`id("cmnd_alias_name"),_("Alias Name (in CAPITALS)"))), `Left(`Label(_("Command Names or Directories in the Alias"))), `Table(`id("cmnd_alias_members"),`header( _("Command"), Modified: trunk/sudo/src/dialog-host.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-host.ycp?rev=55781&r1=55780&r2=55781&view=diff ============================================================================== --- trunk/sudo/src/dialog-host.ycp (original) +++ trunk/sudo/src/dialog-host.ycp Thu Feb 26 10:44:14 2009 @@ -43,7 +43,7 @@ } term contents = `VBox ( - `TextEntry(`id("host_alias_name"),_("Alias Name (in CAPITALS)")), + `Left( `InputField(`id("host_alias_name"),_("Alias Name (in CAPITALS)"))), `Left(`Label(_("Hostnames or Networks in the Alias"))), `Table(`id("host_alias_members"),`header(_("Host Names/Networks")),[]), `Left(`HBox( -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org