[SCM] GUI front-end for Debian Live. branch, master, updated. 862558aa95f245311e31ea4eccc375871f10600c

Chris Lamb chris at chris-lamb.co.uk
Sat Aug 9 07:55:29 UTC 2008


The following commit has been merged in the master branch:
commit a1f5d08a5c22297a317b2d91c18681d0816747e0
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date:   Sat Aug 9 06:31:53 2008 +0100

    Tidy "page skipping".
    
    Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>

diff --git a/LiveMagic/views/wizard.py b/LiveMagic/views/wizard.py
index 1325c7f..7773ee2 100644
--- a/LiveMagic/views/wizard.py
+++ b/LiveMagic/views/wizard.py
@@ -71,15 +71,14 @@ class WizardView(object):
             pass
 
         for i in range(notebook.get_n_pages()):
-            if i == notebook.get_n_pages() - 4 and \
-                self.controller.get_host_architecture() != 'amd64':
-                # Only show architecture page if using amd64
-                continue
-
             if i == 2 and hide_distribution:
                 # Hide distribution when running Lenny as stable.
                 continue
 
+            if i == 5 and self.controller.get_host_architecture() != 'amd64':
+                # Only show architecture page if using amd64
+                continue
+
             page = notebook.get_nth_page(i)
             page.unparent()
             self.asst.append_page(page)

-- 
GUI front-end for Debian Live.



More information about the debian-live-changes mailing list