Author: sh-sh-sh Date: Mon Nov 5 14:44:37 2007 New Revision: 41802 URL: http://svn.opensuse.org/viewcvs/yast?rev=41802&view=rev Log: fixed return type Modified: branches/tmp/sh/mod-ui/core/libyui/doc/examples/Tree1.ycp Modified: branches/tmp/sh/mod-ui/core/libyui/doc/examples/Tree1.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/core/libyui/doc/examples/Tree1.ycp?rev=41802&r1=41801&r2=41802&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/core/libyui/doc/examples/Tree1.ycp (original) +++ branches/tmp/sh/mod-ui/core/libyui/doc/examples/Tree1.ycp Mon Nov 5 14:44:37 2007 @@ -75,7 +75,7 @@ // Notice: The return value of UI::UserInput() does NOT return this value! // Rather, it returns the ID of the widget (normally the PushButton) // that caused UI::UserInput() to return. - string dest_dir = (string) UI::QueryWidget(`dest_dir, `CurrentItem); + any dest_dir = UI::QueryWidget(`dest_dir, `CurrentItem); y2debug( "Selected: %1", dest_dir ); @@ -90,7 +90,7 @@ // Pop up a new dialog to echo the selection. UI::OpenDialog( `VBox( - `Label("Selected destination directory: " + dest_dir), + `Label( sformat( "Selected destination directory: %1", dest_dir ) ), `PushButton(`opt(`default), "&OK") ) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org