diff options
author | Matt Wilson <msw@redhat.com> | 2001-06-21 23:28:54 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-06-21 23:28:54 +0000 |
commit | 83653e74f1918187255e537945172dcbc8706e1c (patch) | |
tree | 921e6be173bd82056781379ab85802ed768b98cb | |
parent | f02f2dd867ba482fa7a6402aa140ef6d9e824097 (diff) | |
download | anaconda-83653e74f1918187255e537945172dcbc8706e1c.tar.gz anaconda-83653e74f1918187255e537945172dcbc8706e1c.tar.xz anaconda-83653e74f1918187255e537945172dcbc8706e1c.zip |
don't sort toplevel partentNames, use the ordering that came from installTypes
-rw-r--r-- | iw/installpath_gui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/installpath_gui.py b/iw/installpath_gui.py index cd795da9c..6367531d2 100644 --- a/iw/installpath_gui.py +++ b/iw/installpath_gui.py @@ -82,10 +82,12 @@ class InstallPathWindow (InstallWindow): # this points to the class for the current install class object currentClass = None + names = [] for (name, object, pixmap) in self.installTypes: (parentName, parentPixmap) = object.parentClass if not topButtons.has_key(parentName): topButtons[parentName] = [] + names.append(parentName) topButtons[parentName].append(object) @@ -97,8 +99,6 @@ class InstallPathWindow (InstallWindow): if not currentClass: currentClass = defaultClass - names = topButtons.keys() - names.sort() topLevelGroup = None tableRows = 0 # tuples of (button, box) (box may be None) |