Author: jsuchome Date: Tue Jun 10 10:42:27 2008 New Revision: 48184 URL: http://svn.opensuse.org/viewcvs/yast?rev=48184&view=rev Log: - use InputField instead of TextEntry - 2.17.0 Modified: trunk/ldap-client/VERSION trunk/ldap-client/package/yast2-ldap-client.changes trunk/ldap-client/src/LdapPopup.ycp trunk/ldap-client/src/ldap_browser.ycp trunk/ldap-client/src/ui.ycp Modified: trunk/ldap-client/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-client/VERSION?rev=48184&r1=48183&r2=48184&view=diff ============================================================================== --- trunk/ldap-client/VERSION (original) +++ trunk/ldap-client/VERSION Tue Jun 10 10:42:27 2008 @@ -1 +1 @@ -2.16.16 +2.17.0 Modified: trunk/ldap-client/package/yast2-ldap-client.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-client/package/yast2-ldap-client.changes?rev=48184&r1=48183&r2=48184&view=diff ============================================================================== --- trunk/ldap-client/package/yast2-ldap-client.changes (original) +++ trunk/ldap-client/package/yast2-ldap-client.changes Tue Jun 10 10:42:27 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jun 10 10:39:43 CEST 2008 - jsuchome@suse.cz + +- use InputField instead of TextEntry +- 2.17.0 + +------------------------------------------------------------------- Wed May 21 14:19:13 CEST 2008 - jsuchome@suse.cz - fix layout to fit into ncurses console (bnc#393080) Modified: trunk/ldap-client/src/LdapPopup.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-client/src/LdapPopup.ycp?rev=48184&r1=48183&r2=48184&view=diff ============================================================================== --- trunk/ldap-client/src/LdapPopup.ycp (original) +++ trunk/ldap-client/src/LdapPopup.ycp Tue Jun 10 10:42:27 2008 @@ -258,19 +258,20 @@ term ret = `VBox(); if (single) { - ret = add (ret, `TextEntry (`id (0), + ret = add (ret, `InputField (`id (0), `opt (`hstretch), // textentry label sformat(_("&Value of \"%1\" Attribute"), attr), value[0]:"")); } else { - ret = add (ret, `TextEntry (`id (0), + ret = add (ret, `InputField (`id (0), `opt (`hstretch), // textentry label sformat(_("&Values of \"%1\" Attribute"), attr), value[0]:"")); integer i = 1; while (i < value_size) { - ret = add (ret, `TextEntry (`id (i), "", value[i]:"")); + ret = add (ret, `InputField (`id (i), `opt (`hstretch), + "", value[i]:"")); if (size (value[i]:"" + 10) > hsize) hsize = size (value[i]:"") + 10; i = i + 1; @@ -409,8 +410,9 @@ `VBox( `HSpacing (50), `RadioButtonGroup (`id(`rb), r_buttons), - // textentry label, do not translate "cn" - `TextEntry (`id (`cn), _("&Name of New Module (\"cn\" Value)")), + `InputField (`id (`cn), `opt (`hstretch), + // textentry label, do not translate "cn" + _("&Name of New Module (\"cn\" Value)")), `HBox( `PushButton(`id(`ok),`opt(`default,`key_F10),Label::OKButton()), `PushButton(`id(`cancel),`opt (`key_F9), Label::CancelButton()) @@ -497,7 +499,7 @@ available)), `VSpacing(0.5), // textentry label - `TextEntry (`id (`val), _("Attribute &Value")), + `InputField (`id (`val), `opt (`hstretch), _("Attribute &Value")), `VSpacing(0.5), `HBox( `PushButton(`id(`ok),`opt(`default,`key_F10),Label::OKButton()), Modified: trunk/ldap-client/src/ldap_browser.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-client/src/ldap_browser.ycp?rev=48184&r1=48183&r2=48184&view=diff ============================================================================== --- trunk/ldap-client/src/ldap_browser.ycp (original) +++ trunk/ldap-client/src/ldap_browser.ycp Tue Jun 10 10:42:27 2008 @@ -293,10 +293,11 @@ UI::OpenDialog (`opt(`decorated), `VBox( `HSpacing(40), // textentry label - `TextEntry (`id(`server), _("LDAP Server"), + `InputField (`id(`server), `opt (`hstretch), _("LDAP Server"), Ldap::GetFirstServer(Ldap::server)), - // textentry label - `TextEntry (`id(`admin_dn), _("Administrator DN"), Ldap::GetBindDN ()), + `InputField (`id(`admin_dn), `opt (`hstretch), + // textentry label + _("Administrator DN"), Ldap::GetBindDN ()), // password entering label `Password(`id(`pw), `opt (`hstretch), _("&LDAP Server Password")), `VSpacing (0.2), Modified: trunk/ldap-client/src/ui.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-client/src/ui.ycp?rev=48184&r1=48183&r2=48184&view=diff ============================================================================== --- trunk/ldap-client/src/ui.ycp (original) +++ trunk/ldap-client/src/ui.ycp Tue Jun 10 10:42:27 2008 @@ -282,8 +282,8 @@ `VSpacing (0.4), `HBox ( // text entry label - `TextEntry (`id (`server), _("Addresses of LDAP &Servers"), - server), + `InputField (`id (`server), `opt (`hstretch), + _("Addresses of LDAP &Servers"), server), `VBox ( `Label (""), // push button label @@ -291,8 +291,9 @@ ) ), `HBox ( - // text entry label - `TextEntry (`id (`ldapbasedn), _("LDAP Base &DN"), base_dn), + `InputField (`id (`ldapbasedn), `opt (`hstretch), + // text entry label + _("LDAP Base &DN"), base_dn), `VBox ( `Label (""), // push button label @@ -721,7 +722,7 @@ `HSpacing (1), `VBox( `VSpacing(0.4), `HBox ( - `TextEntry (`id (`nss_base_passwd), + `InputField (`id (`nss_base_passwd), `opt (`hstretch), // textentry label _("&User Map"), nss_base_passwd), `VBox ( @@ -731,7 +732,7 @@ ) ), `HBox ( - `TextEntry (`id (`nss_base_shadow), + `InputField (`id (`nss_base_shadow), `opt (`hstretch), // textentry label _("&Password Map"), nss_base_shadow), `VBox ( @@ -741,7 +742,7 @@ ) ), `HBox ( - `TextEntry (`id (`nss_base_group), + `InputField (`id (`nss_base_group), `opt (`hstretch), // textentry label _("&Group Map"), nss_base_group), `VBox ( @@ -774,7 +775,7 @@ term cont = `HBox (`HSpacing (5), `VBox( `VSpacing (0.4), `HBox ( - `TextEntry (`id (`base_config_dn), + `InputField (`id (`base_config_dn), `opt (`hstretch), // textentry label _("Configuration &Base DN"), base_config_dn), `VBox ( @@ -785,8 +786,9 @@ ), `VSpacing(0.4), `HBox ( - // textentry label - `TextEntry (`id (`bind_dn), _("Administrator &DN"), bind_dn), + `InputField (`id (`bind_dn), `opt (`hstretch), + // textentry label + _("Administrator &DN"), bind_dn), `VBox ( `Label (""), // checkbox label @@ -925,8 +927,9 @@ UI::OpenDialog ( `opt(`decorated), `HBox( `HSpacing(1), `VBox( - // TextEntry label - `TextEntry (`id (`cn), _("Name of Password Policy Object")), + // InputField label + `InputField (`id (`cn), `opt (`hstretch), + _("Name of Password Policy Object")), `ReplacePoint (`id (`rp_suf), `HBox ( // text label,suffix will follow in next label `Label (`id (`suffix_label), _("Suffix:")), -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org