[yast-commit] r47951 - /trunk/ycp-ui-bindings/examples/CheckBoxFrame3.ycp

Author: sh-sh-sh Date: Thu May 29 17:56:16 2008 New Revision: 47951 URL: http://svn.opensuse.org/viewcvs/yast?rev=47951&view=rev Log: consistent initialization Modified: trunk/ycp-ui-bindings/examples/CheckBoxFrame3.ycp Modified: trunk/ycp-ui-bindings/examples/CheckBoxFrame3.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/examples/CheckBox... ============================================================================== --- trunk/ycp-ui-bindings/examples/CheckBoxFrame3.ycp (original) +++ trunk/ycp-ui-bindings/examples/CheckBoxFrame3.ycp Thu May 29 17:56:16 2008 @@ -24,6 +24,7 @@ symbol widget = nil; string old_server = ""; + UI::FakeUserInput(`use_suse_server); // Use event loop to set up initial enabled/disabled states repeat { @@ -31,6 +32,7 @@ if ( widget == `use_suse_server ) { + y2debug( "Changing enabled states" ); boolean use_suse_server = (boolean) UI::QueryWidget(`use_suse_server, `Value ); UI::ChangeWidget(`server, `Enabled, ! use_suse_server ); UI::ChangeWidget(`mode , `Enabled, ! use_suse_server ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
sh-sh-sh@svn.opensuse.org