Author: sh-sh-sh Date: Thu Apr 3 13:59:05 2008 New Revision: 46025 URL: http://svn.opensuse.org/viewcvs/yast?rev=46025&view=rev Log: retrieve help text Modified: trunk/ycp-ui-bindings/examples/Events.ycp Modified: trunk/ycp-ui-bindings/examples/Events.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/examples/Events.y... ============================================================================== --- trunk/ycp-ui-bindings/examples/Events.ycp (original) +++ trunk/ycp-ui-bindings/examples/Events.ycp Thu Apr 3 13:59:05 2008 @@ -255,7 +255,8 @@ } else if ( event["ID"]:nil == `help ) { - UI::OpenDialog(`VBox(`MinSize( 35, 7, `RichText( howto ) ), + string helpText = (string) UI::QueryWidget(`mainLayout, `HelpText ); + UI::OpenDialog(`VBox(`MinSize( 35, 7, `RichText( helpText ) ), `PushButton("&OK" ) ) ); UI::UserInput(); UI::CloseDialog(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org