Author: tgoettlicher Date: Tue Sep 30 16:46:19 2008 New Revision: 51705 URL: http://svn.opensuse.org/viewcvs/yast?rev=51705&view=rev Log: Added example: Wizard-SetDesktopTitle.ycp Added: trunk/ycp-ui-bindings/examples/Wizard-SetDesktopTitle.ycp Modified: trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes Added: trunk/ycp-ui-bindings/examples/Wizard-SetDesktopTitle.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/examples/Wizard-SetDesktopTitle.ycp?rev=51705&view=auto ============================================================================== --- trunk/ycp-ui-bindings/examples/Wizard-SetDesktopTitle.ycp (added) +++ trunk/ycp-ui-bindings/examples/Wizard-SetDesktopTitle.ycp Tue Sep 30 16:46:19 2008 @@ -0,0 +1,23 @@ +// SetDesktopTitle Example +// +// Set the window title that is shown by the window manager +// Searches for the desktop file and uses its name attribute +// Note: this works in qt and gtk only, ncurses doesn't have a window title + +{ + import "Wizard"; + import "Label"; + + Wizard::CreateDialog (); + Wizard::SetContentsButtons ("SetDesktopTitle Example", + `Label("Read 'Network Settings' from the lan.desktop file and set this string as window title"), + "Help", + Label::BackButton(), + Label::NextButton() + ); + + Wizard::SetDesktopTitle("lan"); // use "lan" as an example + + UI::UserInput (); + UI::CloseDialog (); +} Modified: trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes?rev=51705&r1=51704&r2=51705&view=diff ============================================================================== --- trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes (original) +++ trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes Tue Sep 30 16:46:19 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Sep 30 16:27:20 CEST 2008 - tgoettlicher@suse.de + +- Added example: Wizard-SetDesktopTitle.ycp + +------------------------------------------------------------------- Fri Sep 26 15:54:34 CEST 2008 - tgoettlicher@suse.de - Fixed bnc #418443: Yast modules windows have no title -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org