summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-16 21:42:56 +0000
committerMatt Wilson <msw@redhat.com>1999-09-16 21:42:56 +0000
commit2a2d25c45aeaf840b2955ef06b60327487f793b7 (patch)
treeefa9cc8f8317a61e39f4ce198328ed68f459823d /iw
parent62bfd6e7cd109fb709b7118a157a2a3f796b388e (diff)
downloadanaconda-2a2d25c45aeaf840b2955ef06b60327487f793b7.tar.gz
anaconda-2a2d25c45aeaf840b2955ef06b60327487f793b7.tar.xz
anaconda-2a2d25c45aeaf840b2955ef06b60327487f793b7.zip
*** empty log message ***
Diffstat (limited to 'iw')
-rw-r--r--iw/fdisk.py3
-rw-r--r--iw/rootpartition.py5
2 files changed, 5 insertions, 3 deletions
diff --git a/iw/fdisk.py b/iw/fdisk.py
index 546377dc0..b59100cef 100644
--- a/iw/fdisk.py
+++ b/iw/fdisk.py
@@ -3,6 +3,7 @@ from iw import *
from gnome.zvt import *
from os import execvp
from gui import _
+import isys
class FDiskWindow (InstallWindow):
@@ -42,7 +43,7 @@ class FDiskWindow (InstallWindow):
label = GtkLabel (_("Select drive to run fdisk on"))
drives = self.todo.drives.available ().keys ()
- drives.sort ()
+ drives.sort(isys.compareDrives)
for drive in drives:
button = GtkButton (drive)
button.connect ("clicked", self.button_clicked, drive)
diff --git a/iw/rootpartition.py b/iw/rootpartition.py
index c53cfbd74..f0e20f4f7 100644
--- a/iw/rootpartition.py
+++ b/iw/rootpartition.py
@@ -4,6 +4,7 @@ from thread import *
import isys
from gui import _
from fdisk import *
+import isys
class ConfirmPartitionWindow (InstallWindow):
def __init__ (self, ics):
@@ -97,7 +98,7 @@ class AutoPartitionWindow(InstallWindow):
if (self.__dict__.has_key("manuallyPartition") and
self.manuallyPartition.get_active()):
drives = self.todo.drives.available ().keys ()
- drives.sort ()
+ drives.sort (isys.compareDrives)
self.todo.ddruid = fsedit(0, drives, self.fstab, self.todo.zeroMbr)
self.todo.manuallyPartition()
@@ -118,7 +119,7 @@ class AutoPartitionWindow(InstallWindow):
if not todo.ddruid:
drives = todo.drives.available ().keys ()
- drives.sort ()
+ drives.sort (isys.compareDrives)
todo.ddruid = fsedit(0, drives, self.fstab, self.todo.zeroMbr)
todo.instClass.finishPartitioning(todo.ddruid)