Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54996 - in /trunk/yast2: library/control/src/ProductControl.ycp package/yast2.changes
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Mon, 26 Jan 2009 12:13:51 -0000
  • Message-id: <E1LRQLg-0008Kw-3E@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Mon Jan 26 13:13:51 2009
New Revision: 54996

URL: http://svn.opensuse.org/viewcvs/yast?rev=54996&view=rev
Log:
- Fixing ProductControl to avoid leaving a workflow by with the
`back result - reruns the very first dialog (bnc #468677).


Modified:
trunk/yast2/library/control/src/ProductControl.ycp
trunk/yast2/package/yast2.changes

Modified: trunk/yast2/library/control/src/ProductControl.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/control/src/ProductControl.ycp?rev=54996&r1=54995&r2=54996&view=diff
==============================================================================
--- trunk/yast2/library/control/src/ProductControl.ycp (original)
+++ trunk/yast2/library/control/src/ProductControl.ycp Mon Jan 26 13:13:51 2009
@@ -1382,6 +1382,13 @@
continue;
}

+ // BNC #468677
+ // The very first dialog must not exit with `back
+ if (result == `back && current_step == 0) {
+ y2warning ("Returned %1, Current step %2 (%3). The current step
will be called again...", result, current_step, step_name);
+ result = `again;
+ }
+
if (result == `next)
{
current_step = current_step + 1;

Modified: trunk/yast2/package/yast2.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=54996&r1=54995&r2=54996&view=diff
==============================================================================
--- trunk/yast2/package/yast2.changes (original)
+++ trunk/yast2/package/yast2.changes Mon Jan 26 13:13:51 2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Jan 26 13:08:55 CET 2009 - locilka@xxxxxxx
+
+- Fixing ProductControl to avoid leaving a workflow by with the
+ `back result - reruns the very first dialog (bnc #468677).
+
+-------------------------------------------------------------------
Thu Jan 22 18:41:41 CET 2009 - lslezak@xxxxxxx

- added String::FormatTime() for formatting time in seconds to

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages