summaryrefslogtreecommitdiffstats
path: root/iw/examine_gui.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-07-24 14:23:13 +0000
committerErik Troan <ewt@redhat.com>2000-07-24 14:23:13 +0000
commit004e728d47443b0b82875b36edafab2b0f6dc7a7 (patch)
treecc01fc5293da2671ff6fe30c9527285b3e0dcdf3 /iw/examine_gui.py
parent332a53babde1c711162ae17de8295e8643668ce3 (diff)
downloadanaconda-004e728d47443b0b82875b36edafab2b0f6dc7a7.tar.gz
anaconda-004e728d47443b0b82875b36edafab2b0f6dc7a7.tar.xz
anaconda-004e728d47443b0b82875b36edafab2b0f6dc7a7.zip
fixes for filesystem in list of upgradeable partitions
Diffstat (limited to 'iw/examine_gui.py')
-rw-r--r--iw/examine_gui.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/iw/examine_gui.py b/iw/examine_gui.py
index b3471d50c..32974a9da 100644
--- a/iw/examine_gui.py
+++ b/iw/examine_gui.py
@@ -12,9 +12,7 @@ class UpgradeExamineWindow (InstallWindow):
def toggled (self, widget, newPart):
if widget.get_active ():
- for part in self.parts:
- if part == newPart:
- self.root = part
+ self.root = newPart
def getNext (self):
threads_leave ()
@@ -59,9 +57,9 @@ class UpgradeExamineWindow (InstallWindow):
self.root = self.parts[0]
group = None
row = 1
- for part in self.parts:
+ for (part, filesystem) in self.parts:
group = GtkRadioButton (group, part)
- group.connect ("toggled", self.toggled, part)
+ group.connect ("toggled", self.toggled, (part, filesystem))
table.attach(group, 1, 2, row, row+1)
row = row + 1