Author: varkoly Date: Wed Jul 13 13:02:09 2011 New Revision: 64785 URL: http://svn.opensuse.org/viewcvs/yast?rev=64785&view=rev Log: bnc#684863 - consistently use ButtonBox widget in all YaST modules Modified: trunk/autofs/src/dialogs.ycp Modified: trunk/autofs/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autofs/src/dialogs.ycp?rev=64785&r1=64784&r2=64785&view=diff ============================================================================== --- trunk/autofs/src/dialogs.ycp (original) +++ trunk/autofs/src/dialogs.ycp Wed Jul 13 13:02:09 2011 @@ -68,8 +68,8 @@ `TextEntry(`id(`mapname), _("Name of the map"), ""), `VSpacing(0.2), // ok pushbutton: confirm the dialog - `HBox(`PushButton(`id(`ok), Label::OKButton()), - `PushButton(`id(`cancel), Label::CancelButton())), + `ButtonBox(`PushButton(`id(`ok), Label::OKButton()), + `PushButton(`id(`cancel), Label::CancelButton())), `VSpacing(0.2)), `HSpacing(1) )); @@ -142,8 +142,8 @@ ), `VSpacing(0.2), // ok pushbutton: confirm the dialog - `HBox(`PushButton(`id(`ok), Label::OKButton()), - `PushButton(`id(`cancel), Label::CancelButton())), + `ButtonBox(`PushButton(`id(`ok), Label::OKButton()), + `PushButton(`id(`cancel), Label::CancelButton())), `VSpacing(0.2) ), `HSpacing(1) @@ -161,8 +161,8 @@ `TextEntry(`id(`location), _("Location"), Entry["location"]:""), `VSpacing(0.2), // ok pushbutton: confirm the dialog - `HBox(`PushButton(`id(`ok), Label::OKButton()), - `PushButton(`id(`cancel), Label::CancelButton())), + `ButtonBox(`PushButton(`id(`ok), Label::OKButton()), + `PushButton(`id(`cancel), Label::CancelButton())), `VSpacing(0.2)), `HSpacing(1) ) @@ -277,14 +277,14 @@ `ReplacePoint(`id(`mapslist), `SelectionBox(`id(`maps), `opt(`notify), _("Maps"), LMaps) ), - `HBox( + `ButtonBox( `PushButton(`id(`addmap), _("Add")), `PushButton(`id(`delmap), _("Delete")) ), `Table(`id(`entries), `header(_("Key"),_("Options"),_("Location")),[]), - `HBox( + `ButtonBox( `PushButton(`id(`addentry), _("Add")), -// `PushButton(`id(`modentry), _("Edit")), +// `PushButton(`id(`modentry), _("Edit")), `PushButton(`id(`delentry), _("Delete")) ) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org