Author: locilka Date: Thu Apr 17 20:30:15 2008 New Revision: 46800 URL: http://svn.opensuse.org/viewcvs/yast?rev=46800&view=rev Log: - Using `InputFiled instead of obsolete `TextEntry (in CWM). Modified: trunk/yast2/library/cwm/src/CWM.ycp trunk/yast2/library/cwm/src/CWMTsigKeys.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/library/cwm/src/CWM.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/cwm/src/CWM.ycp?rev... ============================================================================== --- trunk/yast2/library/cwm/src/CWM.ycp (original) +++ trunk/yast2/library/cwm/src/CWM.ycp Thu Apr 17 20:30:15 2008 @@ -469,7 +469,8 @@ */ global define map<string, any> prepareWidget (map<string, any> widget_descr) ``{ map<string, any> w = widget_descr; - symbol widget = w["widget"]:`textentry; + symbol widget = w["widget"]:`inputfield; + if (w["widget"]:nil == `empty) { w["widget"] = `VBox (); @@ -499,9 +500,9 @@ }); string label = w["label"]:w["_cwm_key"]:""; - if (widget == `textentry) + if (widget == `inputfield || widget == `textentry) { - w["widget"] = `TextEntry (id_term, opt_term, label); + w["widget"] = `InputField (id_term, opt_term, label); } else if (widget == `password) { Modified: trunk/yast2/library/cwm/src/CWMTsigKeys.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/cwm/src/CWMTsigKeys... ============================================================================== --- trunk/yast2/library/cwm/src/CWMTsigKeys.ycp (original) +++ trunk/yast2/library/cwm/src/CWMTsigKeys.ycp Thu Apr 17 20:30:15 2008 @@ -560,7 +560,7 @@ `HBox ( `HWeight (7, `HBox ( - `TextEntry (`id ("_cwm_existing_key_file"), `opt (`hstretch), + `InputField (`id ("_cwm_existing_key_file"), `opt (`hstretch), // text entry Label::FileName ()) ) @@ -593,9 +593,9 @@ `HWeight (7, `HBox ( // text entry - `TextEntry (`id ("_cwm_new_key_id"), `opt (`hstretch), _("&Key ID")), + `InputField (`id ("_cwm_new_key_id"), `opt (`hstretch), _("&Key ID")), // text entry - `TextEntry (`id ("_cwm_new_key_file"), `opt (`hstretch), Label::FileName()) + `InputField (`id ("_cwm_new_key_file"), `opt (`hstretch), Label::FileName()) ) ), `HWeight (2, Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=4... ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Thu Apr 17 20:30:15 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Apr 17 20:31:39 CEST 2008 - locilka@suse.cz + +- Using `InputFiled instead of obsolete `TextEntry (in CWM). + +------------------------------------------------------------------- Wed Apr 16 13:30:31 CEST 2008 - kmachalkova@suse.cz - Wizard.ycp: Generic tree dialog introduced - left help panel -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org