diff options
author | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-07 18:02:05 +0000 |
---|---|---|
committer | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-07 18:02:05 +0000 |
commit | 8c5ea20841f3fbb5eba8502f8552ec50e495ec4c (patch) | |
tree | 5c9cdb06adda91a27a85d30ebc28a74b712c97b4 | |
parent | Store mirrors (diff) | |
download | anaconda-8c5ea20841f3fbb5eba8502f8552ec50e495ec4c.tar.gz anaconda-8c5ea20841f3fbb5eba8502f8552ec50e495ec4c.tar.bz2 anaconda-8c5ea20841f3fbb5eba8502f8552ec50e495ec4c.zip |
Store sync mirrors
-rwxr-xr-x | anaconda | 1 | ||||
-rw-r--r-- | iw/mirrorselect-sync_gui.py | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -489,6 +489,7 @@ class Anaconda(object): self.mediaDevice = None self.methodstr = None self.mirrors = [] + self.mirrors_sync = [] self._network = None self._platform = None self.profile = None diff --git a/iw/mirrorselect-sync_gui.py b/iw/mirrorselect-sync_gui.py index 15a6bb5..3fbb4cc 100644 --- a/iw/mirrorselect-sync_gui.py +++ b/iw/mirrorselect-sync_gui.py @@ -37,6 +37,9 @@ _ = lambda x: gettext.ldgettext("anaconda", x) class MirrorselectSyncWindow(InstallWindow): def getNext(self): + for button in self.buttons: + if button.get_property("active"): + self.anaconda.mirrors_sync.append(button.get_property("label")) return None def getScreen(self, anaconda): @@ -69,5 +72,6 @@ class MirrorselectSyncWindow(InstallWindow): self.table = self.xml.get_widget("mirrors_table") ms.addMirrors(self.table, self.mirrors, mirrors_parsed) + self.buttons = ms.buttons return self.align |