Author: kmachalkova Date: Tue Dec 2 17:39:33 2008 New Revision: 53826 URL: http://svn.opensuse.org/viewcvs/yast?rev=53826&view=rev Log: Less strict data type - widget IDs can be either symbols or strings (needed for #444967) Modified: trunk/network/src/routines/routines.ycp Modified: trunk/network/src/routines/routines.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/routines/routines.ycp... ============================================================================== --- trunk/network/src/routines/routines.ycp (original) +++ trunk/network/src/routines/routines.ycp Tue Dec 2 17:39:33 2008 @@ -799,11 +799,11 @@ * if listed any items, disable them, if show_popup, show warning popup */ -boolean disableItemsIfNM(list<symbol> items, boolean show_popup){ +boolean disableItemsIfNM(list<any> items, boolean show_popup){ boolean disable=true; if (Mode::normal() && NetworkService::IsManaged()){ - foreach(symbol w, items, { - UI::ChangeWidget(w, `Enabled, false); + foreach(any w, items, { + UI::ChangeWidget(`id(w), `Enabled, false); }); if (show_popup) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org