summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--iw/fdisk.py2
-rw-r--r--iw/rootpartition.py5
2 files changed, 7 insertions, 0 deletions
diff --git a/iw/fdisk.py b/iw/fdisk.py
index 0876e43f1..be6e60fde 100644
--- a/iw/fdisk.py
+++ b/iw/fdisk.py
@@ -56,6 +56,8 @@ class FDiskWindow (InstallWindow):
(not InstallPathWindow.fdisk.get_active ())):
return None
+ self.ddruid = None
+
self.windowContainer = GtkVBox (FALSE)
self.buttonBox = GtkVBox (FALSE, 5)
self.buttonBox.set_border_width (5)
diff --git a/iw/rootpartition.py b/iw/rootpartition.py
index d0b990083..ae564ac16 100644
--- a/iw/rootpartition.py
+++ b/iw/rootpartition.py
@@ -151,6 +151,11 @@ class AutoPartitionWindow(InstallWindow):
def getScreen (self):
from gnomepyfsedit import fsedit
+ from installpath import InstallPathWindow
+
+ if (InstallPathWindow.fdisk and
+ InstallPathWindow.fdisk.get_active ()):
+ return None
# XXX hack
if self.todo.instClass.clearType: