[yast-commit] r55177 - in /trunk/audit-laf/src: complex.ycp wizards.ycp
Author: gs Date: Mon Feb 2 12:01:20 2009 New Revision: 55177 URL: http://svn.opensuse.org/viewcvs/yast?rev=55177&view=rev Log: correct use of ReallyAbort popup Modified: trunk/audit-laf/src/complex.ycp trunk/audit-laf/src/wizards.ycp Modified: trunk/audit-laf/src/complex.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/audit-laf/src/complex.ycp?rev=551... ============================================================================== --- trunk/audit-laf/src/complex.ycp (original) +++ trunk/audit-laf/src/complex.ycp Mon Feb 2 12:01:20 2009 @@ -50,16 +50,9 @@ } boolean ReallyAbort() { - return !AuditLaf::Modified() || Popup::ReallyAbort(true); + return Popup::ReallyAbort(AuditLaf::Modified()); } -boolean ReallyExit () { - // yes-no popup - return Popup::YesNo (_("Really exit? -All changes will be lost.")); -} - - /** * Read settings dialog * @return `abort if aborted and `next otherwise Modified: trunk/audit-laf/src/wizards.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/audit-laf/src/wizards.ycp?rev=551... ============================================================================== --- trunk/audit-laf/src/wizards.ycp (original) +++ trunk/audit-laf/src/wizards.ycp Mon Feb 2 12:01:20 2009 @@ -141,7 +141,7 @@ Wizard::DisableBackButton (); Wizard::SetTitleIcon("yast-audit-laf"); - return CWM::Run (w, $[`abort : ReallyExit]); + return CWM::Run (w, $[`abort : ReallyAbort]); } /** -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn.opensuse.org