Author: locilka Date: Tue Dec 16 16:32:59 2008 New Revision: 54194 URL: http://svn.opensuse.org/viewcvs/yast?rev=54194&view=rev Log: - Dialog buttons adapted to the current style guide. - Better dialog layout. Modified: trunk/sshd/package/yast2-sshd.changes trunk/sshd/src/dialogs.ycp trunk/sshd/src/wizards.ycp Modified: trunk/sshd/package/yast2-sshd.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/sshd/package/yast2-sshd.changes?rev=54194&r1=54193&r2=54194&view=diff ============================================================================== --- trunk/sshd/package/yast2-sshd.changes (original) +++ trunk/sshd/package/yast2-sshd.changes Tue Dec 16 16:32:59 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Dec 16 16:31:25 CET 2008 - locilka@suse.cz + +- Dialog buttons adapted to the current style guide. +- Better dialog layout. + +------------------------------------------------------------------- Wed Dec 10 16:43:46 CET 2008 - locilka@suse.cz - Forgotten text marked for translation (bnc #450474). Modified: trunk/sshd/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sshd/src/dialogs.ycp?rev=54194&r1=54193&r2=54194&view=diff ============================================================================== --- trunk/sshd/src/dialogs.ycp (original) +++ trunk/sshd/src/dialogs.ycp Tue Dec 16 16:32:59 2008 @@ -29,7 +29,7 @@ } term ServerConfigurationDialogContent () { - return `MarginBox (mbox_x, mbox_y, `VBox ( + return `VBox ( `Left(`Label(_("SSHD TCP Ports"))), `Left( `VBox ( @@ -46,39 +46,39 @@ `PushButton(`id("delete_port"), _("&Delete")) )), `VSpacing(1), - `MarginBox (mbox_x, mbox_y, `Frame ( + `Frame ( /* a dialog frame caption */ _("Server Features"), - `VBox ( + `MarginBox (mbox_x, mbox_y, `VBox ( /* a check box */ `Left(`CheckBox(`id("AllowTcpForwarding"), _("Allow &TCP Forwarding"))), /* a check box */ `Left(`CheckBox(`id("X11Forwarding"), _("Allow &X11 Forwarding"))), /* a check box */ `Left(`CheckBox(`id("Compression"), _("Allow &Compression"))) - ) - )), + )) + ), `VStretch() ) ) - )); + ); } term LoginSettingsDialogContent () { - return `MarginBox (mbox_x, mbox_y, `VBox( + return `VBox ( `Frame ( _("General Login Settings"), - `VBox ( + `MarginBox (mbox_x, mbox_y, `VBox ( /* A check box */ `Left(`CheckBox(`id("PrintMotd"), _("Print &Message of the Day After Login"))), /* A check box */ `Left(`CheckBox(`id("PermitRootLogin"), _("Permi&t Root Login"))) - ) + )) ), `VSpacing(1), `Frame ( _("Authentication Settings"), - `VBox ( + `MarginBox (mbox_x, mbox_y, `VBox ( /* A text entry */ `Left(`InputField(`id("MaxAuthTries"), _("Ma&ximum Authentication Tries"))), /* A check box */ @@ -87,22 +87,22 @@ `Left(`CheckBox (`id("RSAAuthentication"), _("RSA Authenti&cation"))), /* A check box */ `Left(`CheckBox (`id("PubkeyAuthentication"), _("Public &Key Authentication"))) - ) + )) ), `VStretch() - )); + ); } term ProtoAndCipherDialogContent () { - return `MarginBox (mbox_x, mbox_y, `VBox ( + return `VBox ( `Frame( _("Supported SSH protocol versions"), `RadioButtonGroup (`id(`rb), - `VBox( + `MarginBox (mbox_x, mbox_y, `VBox( `Left(`RadioButton (`id("SSHv21"), _("&2 and 1"))), `Left(`RadioButton (`id("SSHv2"), _("2 &only"))), `Left(`RadioButton (`id("SSHv1"), _("&1 only"))) - ) + )) ) ), `HBox( @@ -121,7 +121,7 @@ ) ), `VStretch() - )); + ); } } Modified: trunk/sshd/src/wizards.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sshd/src/wizards.ycp?rev=54194&r1=54193&r2=54194&view=diff ============================================================================== --- trunk/sshd/src/wizards.ycp (original) +++ trunk/sshd/src/wizards.ycp Tue Dec 16 16:32:59 2008 @@ -88,9 +88,10 @@ contents, "", Label::BackButton (), - Label::FinishButton() + Label::OKButton() ); - Wizard::DisableBackButton (); + Wizard::HideBackButton (); + Wizard::SetAbortButton(`abort, Label::CancelButton()); Wizard::SetTitleIcon("yast-sshd"); return CWM::Run (w, $[`abort : ReallyExit]); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org