Author: sh-sh-sh Date: Mon Dec 17 15:32:34 2007 New Revision: 43134 URL: http://svn.opensuse.org/viewcvs/yast?rev=43134&view=rev Log: formatting Modified: trunk/core/libyui/doc/examples/PushButton1.ycp trunk/core/libyui/doc/examples/PushButton2.ycp Modified: trunk/core/libyui/doc/examples/PushButton1.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/libyui/doc/examples/PushButt... ============================================================================== --- trunk/core/libyui/doc/examples/PushButton1.ycp (original) +++ trunk/core/libyui/doc/examples/PushButton1.ycp Mon Dec 17 15:32:34 2007 @@ -4,8 +4,8 @@ // then close the dialog and terminate. UI::OpenDialog( - `PushButton( "&OK" ) - ); + `PushButton( "&OK" ) + ); UI::UserInput(); UI::CloseDialog(); Modified: trunk/core/libyui/doc/examples/PushButton2.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/libyui/doc/examples/PushButt... ============================================================================== --- trunk/core/libyui/doc/examples/PushButton2.ycp (original) +++ trunk/core/libyui/doc/examples/PushButton2.ycp Mon Dec 17 15:32:34 2007 @@ -4,12 +4,12 @@ // activate it. UI::OpenDialog( - `HBox( - `PushButton( `id(`ok), "&OK" ), - `PushButton( `id(`cancel), `opt(`default), "&Cancel" ), - `PushButton( `id(`help), "&Help" ) - ) - ); + `HBox( + `PushButton( `id(`ok), "&OK" ), + `PushButton( `id(`cancel), `opt(`default), "&Cancel" ), + `PushButton( `id(`help), "&Help" ) + ) + ); // Wait for user input. The value returned is the ID of the widget // that makes UI::UserInput() terminate, i.e. the respective button ID. @@ -27,11 +27,11 @@ // Pop up a new dialog to display what button was clicked. UI::OpenDialog( - `VBox( - `Label( "You clicked button "" + button_name + ""."), - `PushButton( `opt(`default), "&OK" ) - ) - ); + `VBox( + `Label( "You clicked button "" + button_name + ""."), + `PushButton( `opt(`default), "&OK" ) + ) + ); UI::UserInput(); UI::CloseDialog(); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org