Author: locilka Date: Thu Sep 4 15:27:39 2008 New Revision: 50684 URL: http://svn.opensuse.org/viewcvs/yast?rev=50684&view=rev Log: Changed `if (success) ...` to `if (success == true) ...` Modified: trunk/yast2/library/modules/Popup.ycp Modified: trunk/yast2/library/modules/Popup.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/modules/Popup.ycp?rev=50684&r1=50683&r2=50684&view=diff ============================================================================== --- trunk/yast2/library/modules/Popup.ycp (original) +++ trunk/yast2/library/modules/Popup.ycp Thu Sep 4 15:27:39 2008 @@ -187,7 +187,7 @@ button_box, sformat("%1", timeout), richtext, width, height ) ); - if (success) + if (success == true) UI::SetFocus(`id(`ok_msg)); symbol button = nil; @@ -204,11 +204,11 @@ timeout = timeout - 1; - if (success) + if (success == true) UI::ChangeWidget(`id(`label), `Value, sformat("%1", timeout )); } - if (success) + if (success == true) UI::CloseDialog(); } @@ -330,7 +330,7 @@ ); any ret = nil; - if (success) { + if (success == true) { UI::UserInput(); UI::CloseDialog(); } @@ -395,10 +395,10 @@ break; } timeout_seconds = timeout_seconds - 1; - if (success) UI::ChangeWidget (`id(`remaining_time), `Value, ""+timeout_seconds); + if (success == true) UI::ChangeWidget (`id(`remaining_time), `Value, ""+timeout_seconds); } - if (success) UI::CloseDialog(); + if (success == true) UI::CloseDialog(); return which_input == `yes; } @@ -572,7 +572,7 @@ ) ); - if (success) { + if (success == true) { UI::SetFocus(`id(`ok ) ); UI::UserInput(); UI::CloseDialog(); @@ -634,7 +634,7 @@ boolean success = (boolean) UI::OpenDialog (`opt (`decorated), d); any ui = nil; - if (success) { + if (success == true) { ui = UI::UserInput (); UI::CloseDialog (); } @@ -723,7 +723,7 @@ ); any user_ret = nil; - if (success) { + if (success == true) { UI::UserInput(); UI::CloseDialog(); } @@ -820,14 +820,14 @@ ) ) )); - if (success2) { + if (success2 == true) { UI::UserInput(); UI::CloseDialog(); } } else break; } - if (success) UI::CloseDialog(); + if (success == true) UI::CloseDialog(); } /** @@ -851,7 +851,7 @@ popupLayoutInternal( headline, message, icon_name, button_box ) ); - if (success) { + if (success == true) { UI::SetFocus(`id(`ok_msg) ); UI::UserInput(); UI::CloseDialog(); @@ -900,7 +900,7 @@ popupLayoutInternalRich( headline, message, icon_name, button_box, width, height ) ); - if (success) { + if (success == true) { UI::SetFocus(`id(`ok_msg) ); UI::UserInput(); UI::CloseDialog(); @@ -1378,7 +1378,7 @@ timeout_seconds = timeout_seconds - 1; UI::ChangeWidget (`id(`remaining_time), `Value, ""+timeout_seconds); } - if (success) UI::CloseDialog(); + if (success == true) UI::CloseDialog(); return which_input != `timed_cancel; } @@ -1446,7 +1446,7 @@ symbol ret = nil; - if (success) { + if (success == true) { ret = (symbol) UI::UserInput(); UI::CloseDialog(); } @@ -1493,7 +1493,7 @@ ); symbol ret = nil; - if (success) { + if (success == true) { ret = (symbol) UI::UserInput(); UI::CloseDialog(); } @@ -1584,7 +1584,7 @@ UI::ChangeWidget(`id(`label), `Value, sformat("%1", timeout )); } - if (success) UI::CloseDialog(); + if (success == true) UI::CloseDialog(); } @@ -1629,7 +1629,7 @@ ) ); - if (success) { + if (success == true) { UI::UserInput(); UI::CloseDialog(); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org