Author: kmachalkova Date: Mon Oct 27 14:11:49 2008 New Revision: 52586 URL: http://svn.opensuse.org/viewcvs/yast?rev=52586&view=rev Log: Comply to styleguide: align Add/Edit/Delete trio to the left, s/Remove/Delete/g (#438227) 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 trunk/sudo/src/dialogs.ycp Modified: trunk/sudo/src/dialog-cmnd.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-cmnd.ycp?rev=52586&r1=52585&r2=52586&view=diff ============================================================================== --- trunk/sudo/src/dialog-cmnd.ycp (original) +++ trunk/sudo/src/dialog-cmnd.ycp Mon Oct 27 14:11:49 2008 @@ -40,11 +40,11 @@ _("Parameters") ), [] ), - `HBox( + `Left(`HBox( `PushButton ( `id ( "add_command" ), `opt(`key_F3), " " + Label::AddButton() + " "), `PushButton ( `id ( "edit_command" ), `opt(`key_F4), " " + Label::EditButton() + " "), - `PushButton ( `id ( "remove_command" ), `opt(`key_F5), " " + Label::RemoveButton() + " ") - ) + `PushButton ( `id ( "remove_command" ), `opt(`key_F5), " " + Label::DeleteButton() + " ") + )) ); Wizard::SetContentsButtons(caption, contents,HELPS["command_alias"]:"",Label::BackButton(), Label::OKButton()); Modified: trunk/sudo/src/dialog-host.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-host.ycp?rev=52586&r1=52585&r2=52586&view=diff ============================================================================== --- trunk/sudo/src/dialog-host.ycp (original) +++ trunk/sudo/src/dialog-host.ycp Mon Oct 27 14:11:49 2008 @@ -40,11 +40,11 @@ `TextEntry(`id("host_alias_name"),_("Alias Name")), `Left(`Label(_("Hostnames or Networks in the Alias"))), `Table(`id("host_alias_members"),`header("Host Names/Networks"),[]), - `HBox( + `Left(`HBox( `PushButton ( `id ( "add_host" ), `opt(`key_F3), " " + Label::AddButton() + " "), `PushButton ( `id ( "edit_host" ), `opt(`key_F4), " " + Label::EditButton() + " "), - `PushButton ( `id ( "remove_host" ), `opt(`key_F5), " " + Label::RemoveButton() + " ") - ) + `PushButton ( `id ( "remove_host" ), `opt(`key_F5), " " + Label::DeleteButton() + " ") + )) ); Wizard::SetContentsButtons(caption, contents, HELPS["host_alias"]:"",Label::BackButton(), Label::OKButton()); Modified: trunk/sudo/src/dialog-runas.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-runas.ycp?rev=52586&r1=52585&r2=52586&view=diff ============================================================================== --- trunk/sudo/src/dialog-runas.ycp (original) +++ trunk/sudo/src/dialog-runas.ycp Mon Oct 27 14:11:49 2008 @@ -57,7 +57,7 @@ `VBox ( `VSpacing(1.1), `PushButton ( `id ( "add_member" ), `opt ( `hstretch, `key_F3), " " + Label::AddButton() + " "), - `PushButton ( `id ( "remove_member" ), `opt ( `hstretch , `key_F5), " " + Label::RemoveButton() + " "), + `PushButton ( `id ( "remove_member" ), `opt ( `hstretch , `key_F5), " " + Label::DeleteButton() + " "), `Empty(`opt(`vstretch)) ) ) Modified: trunk/sudo/src/dialog-spec.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-spec.ycp?rev=52586&r1=52585&r2=52586&view=diff ============================================================================== --- trunk/sudo/src/dialog-spec.ycp (original) +++ trunk/sudo/src/dialog-spec.ycp Mon Oct 27 14:11:49 2008 @@ -55,11 +55,11 @@ `Label(_("Commands to Run")) ), `Table(`id("commands"),`header(_("Command"), _("Parameters")),[]), - `HBox( + `Left(`HBox( `PushButton ( `id ( "command_add" ), `opt(`key_F3), " " + Label::AddButton() + " "), `PushButton ( `id ( "command_edit" ), `opt(`key_F4), " " + Label::EditButton() + " "), - `PushButton ( `id ( "command_remove" ), `opt(`key_F5), " " + Label::RemoveButton() + " ") - ) + `PushButton ( `id ( "command_remove" ), `opt(`key_F5), " " + Label::DeleteButton() + " ") + )) ); Modified: trunk/sudo/src/dialog-user.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-user.ycp?rev=52586&r1=52585&r2=52586&view=diff ============================================================================== --- trunk/sudo/src/dialog-user.ycp (original) +++ trunk/sudo/src/dialog-user.ycp Mon Oct 27 14:11:49 2008 @@ -57,7 +57,7 @@ `VBox ( `VSpacing(1.1), `PushButton ( `id ( "add_member" ), `opt ( `hstretch, `key_F3 ), " " + Label::AddButton() + " "), - `PushButton ( `id ( "remove_member" ), `opt ( `hstretch, `key_F5 ), " " + Label::RemoveButton() + " "), + `PushButton ( `id ( "remove_member" ), `opt ( `hstretch, `key_F5 ), " " + Label::DeleteButton() + " "), `Empty(`opt(`vstretch)) ) ) Modified: trunk/sudo/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialogs.ycp?rev=52586&r1=52585&r2=52586&view=diff ============================================================================== --- trunk/sudo/src/dialogs.ycp (original) +++ trunk/sudo/src/dialogs.ycp Mon Oct 27 14:11:49 2008 @@ -315,11 +315,11 @@ _("Commands") ), [] ), - `HBox ( + `Left(`HBox ( `PushButton(`id("add_spec"), `opt(`key_F3), " " + Label::AddButton() + " "), `PushButton(`id("edit_spec"), `opt(`key_F4), " " + Label::EditButton() + " "), `PushButton(`id("delete_spec"),`opt(`key_F5), " " + Label::DeleteButton() + " ") - ) + )) ), "caption" : sudo_caption + ": " + _("Rules for sudo"), "tree_item_label" : _("Rules for sudo "), @@ -334,11 +334,11 @@ _("Members") ), [] ), - `HBox ( + `Left(`HBox ( `PushButton(`id("add_user_alias"), `opt(`key_F3), " " + Label::AddButton() + " "), `PushButton(`id("edit_user_alias"), `opt(`key_F4), " " + Label::EditButton() + " "), `PushButton(`id("delete_user_alias"), `opt(`key_F5), " " + Label::DeleteButton() + " ") - ) + )) ), "caption" : sudo_caption + ": " + _("User Aliases"), @@ -354,11 +354,11 @@ _("Members") ), [] ), - `HBox ( + `Left(`HBox ( `PushButton(`id("add_runas_alias"), `opt(`key_F3), " " + Label::AddButton() + " "), `PushButton(`id("edit_runas_alias"), `opt(`key_F4), " " + Label::EditButton() + " "), `PushButton(`id("delete_runas_alias"), `opt(`key_F5), " " + Label::DeleteButton() + " ") - ) + )) ), "caption" : sudo_caption + ": " + _("RunAs Aliases"), @@ -374,11 +374,11 @@ _("Hosts") ), [] ), - `HBox ( + `Left(`HBox ( `PushButton(`id("add_host_alias"), `opt(`key_F3), " " + Label::AddButton() + " "), `PushButton(`id("edit_host_alias"), `opt(`key_F4), " " + Label::EditButton() + " "), `PushButton(`id("delete_host_alias"), `opt(`key_F5), " " + Label::DeleteButton() + " ") - ) + )) ), "caption" : sudo_caption + ": " + _("Host Aliases"), @@ -394,11 +394,11 @@ _("Commands") ), [] ), - `HBox ( + `Left(`HBox ( `PushButton(`id("add_command_alias"), `opt(`key_F3), " " + Label::AddButton() + " "), `PushButton(`id("edit_command_alias"), `opt(`key_F4), " " + Label::EditButton() + " "), `PushButton(`id("delete_command_alias"), `opt(`key_F5), " " + Label::DeleteButton() + " ") - ) + )) ), "caption" : sudo_caption + ": " + _("Command Aliases"), -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org