summaryrefslogtreecommitdiffstats
path: root/iw/rootpartition.py
diff options
context:
space:
mode:
authorpnfisher <pnfisher>1999-09-14 00:30:32 +0000
committerpnfisher <pnfisher>1999-09-14 00:30:32 +0000
commit079cd143ed9acb3dd6f48080f22d0422a1b81591 (patch)
tree22538c0476dc41a3fbf18d6bdb5f342e4f3ac28f /iw/rootpartition.py
parent4313042399e8eef21f791fdf1e63aabd860261b1 (diff)
downloadanaconda-079cd143ed9acb3dd6f48080f22d0422a1b81591.tar.gz
anaconda-079cd143ed9acb3dd6f48080f22d0422a1b81591.tar.xz
anaconda-079cd143ed9acb3dd6f48080f22d0422a1b81591.zip
Make fdisk work.
Diffstat (limited to 'iw/rootpartition.py')
-rw-r--r--iw/rootpartition.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/iw/rootpartition.py b/iw/rootpartition.py
index fd88f7877..8d91a7843 100644
--- a/iw/rootpartition.py
+++ b/iw/rootpartition.py
@@ -3,6 +3,7 @@ from iw import *
from thread import *
import isys
from gui import _
+from fdisk import *
class ConfirmPartitionWindow (InstallWindow):
def __init__ (self, ics):
@@ -30,6 +31,10 @@ class PartitionWindow (InstallWindow):
self.skippedScreen = 0
def getNext (self):
+ from installpath import InstallPathWindow
+ if InstallPathWindow.fdisk and InstallPathWindow.fdisk.get_active ():
+ return FDiskWindow
+
self.todo.ddruid.next ()
if not self.skippedScreen:
@@ -62,6 +67,11 @@ class PartitionWindow (InstallWindow):
self.ics.setNextEnabled (value)
def getScreen (self):
+ from installpath import InstallPathWindow
+
+ if InstallPathWindow.fdisk and InstallPathWindow.fdisk.get_active ():
+ return None
+
self.todo.ddruid.setCallback (self.enableCallback)
if self.skippedScreen: