Author: jsuchome Date: Mon Jul 27 15:53:33 2009 New Revision: 58169 URL: http://svn.opensuse.org/viewcvs/yast?rev=58169&view=rev Log: - adapt UI so it fits to traditional xterm size (bnc#520090) - 2.18.2 Modified: trunk/nis-client/VERSION trunk/nis-client/package/yast2-nis-client.changes trunk/nis-client/src/ui.ycp Modified: trunk/nis-client/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/VERSION?rev=58169&r1=58168&r2=58169&view=diff ============================================================================== --- trunk/nis-client/VERSION (original) +++ trunk/nis-client/VERSION Mon Jul 27 15:53:33 2009 @@ -1 +1 @@ -2.18.1 +2.18.2 Modified: trunk/nis-client/package/yast2-nis-client.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/package/yast2-nis-client.changes?rev=58169&r1=58168&r2=58169&view=diff ============================================================================== --- trunk/nis-client/package/yast2-nis-client.changes (original) +++ trunk/nis-client/package/yast2-nis-client.changes Mon Jul 27 15:53:33 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Jul 27 15:42:20 CEST 2009 - jsuchome@suse.cz + +- adapt UI so it fits to traditional xterm size (bnc#520090) +- 2.18.2 + +------------------------------------------------------------------- Thu Jun 18 09:18:01 CEST 2009 - jsuchome@suse.cz - 2.18.1 Modified: trunk/nis-client/src/ui.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/src/ui.ycp?rev=58169&r1=58168&r2=58169&view=diff ============================================================================== --- trunk/nis-client/src/ui.ycp (original) +++ trunk/nis-client/src/ui.ycp Mon Jul 27 15:53:33 2009 @@ -263,6 +263,8 @@ // radio button label _("Au&tomatic Setup (via DHCP)"); + boolean text_mode = UI::GetDisplayInfo ()["TextMode"]:false; + term con = nil; // frame label term nis_frame = `Frame (_("NIS client"), `HBox (`HSpacing (0.4), @@ -279,18 +281,26 @@ // combo box item `item (`id (`custom), _("Custom Policy")) ]), + `HSpacing (), `InputField (`id(`custompolicy), `opt (`hstretch), // text entry label _("C&ustom Policy"), "") ), `VSpacing (0.2), - // text entry label - `InputField (`id (`domain), `opt (`hstretch), _("N&IS Domain"), - domain), - `VSpacing (0.2), - `InputField (`id (`servers), `opt (`hstretch), + text_mode ? `HBox ( + `InputField (`id (`domain), `opt (`hstretch), _("N&IS Domain"), domain), + `HSpacing (), + `InputField (`id (`servers), `opt (`hstretch), + _("&Addresses of NIS servers"), servers) + ) : + `VBox ( // text entry label - _("&Addresses of NIS servers"), servers), + `InputField (`id (`domain), `opt (`hstretch), _("N&IS Domain"), domain), + `VSpacing (0.2), + `InputField (`id (`servers), `opt (`hstretch), + // text entry label + _("&Addresses of NIS servers"), servers) + ), `HBox ( // check box label `Left (`CheckBox (`id (`broadcast), `opt (`notify), _("Br&oadcast"), default_broadcast)), @@ -330,14 +340,14 @@ _("&Use NIS"), yp_client) ) )))), - `VSpacing (1.2), + `VSpacing (0.4), nis_frame, `VSpacing (0.4), `Frame ("", `HBox (`HSpacing (0.4), firewall_layout)), `VSpacing (0.4), // checkbox label `CheckBox (`id(`autofs), _("Start Auto&mounter"), autofs), - `VSpacing (0.5), + `VSpacing (0.4), `PushButton (`id (`expert), `opt (`key_F7), // button label // (short for Expert settings) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org