aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-07-07 20:22:09 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-07-07 20:22:09 +0000
commite6d8b802b7800ce405918464198ae61e02551f09 (patch)
treecf88688784fc3294c324ae4bb497c5b14cb9ded7
parentui/makeconf.glade: fixed the screen (diff)
downloadanaconda-e6d8b802b7800ce405918464198ae61e02551f09.tar.gz
anaconda-e6d8b802b7800ce405918464198ae61e02551f09.tar.bz2
anaconda-e6d8b802b7800ce405918464198ae61e02551f09.zip
iw/mirrorselect_gui.py: make self.buttons available to the whole class
-rw-r--r--iw/mirrorselect_gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py
index cad5efb..daf50a7 100644
--- a/iw/mirrorselect_gui.py
+++ b/iw/mirrorselect_gui.py
@@ -36,6 +36,8 @@ import gettext
_ = lambda x: gettext.ldgettext("anaconda", x)
class MirrorselectWindow(InstallWindow):
+ buttons = []
+
def getNext(self):
for button in self.buttons:
if button.get_property("active"):
@@ -67,7 +69,6 @@ class MirrorselectWindow(InstallWindow):
self.table = self.xml.get_widget("mirrors_table")
- self.buttons = []
self.addMirrors(self.table, self.mirrors, mirrors_parsed)
return self.align