Mailinglist Archive: yast-commit (490 mails)

< Previous Next >
[yast-commit] r38515 - in /trunk/yast2: library/control/src/ProductControl.ycp package/yast2.changes
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Tue, 19 Jun 2007 06:30:57 -0000
  • Message-id: <20070619063057.C0F273BF36@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Tue Jun 19 08:30:57 2007
New Revision: 38515

URL: http://svn.opensuse.org/viewcvs/yast?rev=38515&view=rev
Log:
- Allowing to go back in the installation workflow even if the
  workflow has changed. The condition must be explicitly set in
  the control file.


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=38515&r1=38514&r2=38515&view=diff
==============================================================================
--- trunk/yast2/library/control/src/ProductControl.ycp (original)
+++ trunk/yast2/library/control/src/ProductControl.ycp Tue Jun 19 08:30:57 2007
@@ -865,10 +865,14 @@
        boolean retranslate = step["retranslate"]:false;
         string step_id = step["id"]:"";
 
-        if (current_step <= minimum_step)
-        {
-            step["enable_back"] = "no";
-        }
+       // Don't mark back button disabled when back button status
+       // is forced in the control file
+       if (step["enable_back"]:nil == nil) {
+           if (current_step <= minimum_step) {
+               step["enable_back"] = "no";
+               y2milestone ("Disabling back: %1 %2 %3", current_step, minimum_step, step["enable_back"]:nil);
+           }
+       }
 
        boolean   do_continue           = false;
 

Modified: trunk/yast2/package/yast2.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=38515&r1=38514&r2=38515&view=diff
==============================================================================
--- trunk/yast2/package/yast2.changes (original)
+++ trunk/yast2/package/yast2.changes Tue Jun 19 08:30:57 2007
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Tue Jun 19 08:28:57 CEST 2007 - locilka@xxxxxxx
+
+- Allowing to go back in the installation workflow even if the
+  workflow has changed. The condition must be explicitly set in
+  the control file.
+
+-------------------------------------------------------------------
 Mon Jun 18 17:13:55 CEST 2007 - jsrain@xxxxxxx
 
 - check patch lenght before calling substring (#283146)

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

< Previous Next >
This Thread
  • No further messages