public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Wiktor W Brodlo" <wiktor@brodlo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/anaconda:master commit in: /, iw/
Date: Thu,  7 Jul 2011 18:02:18 +0000 (UTC)	[thread overview]
Message-ID: <8c5ea20841f3fbb5eba8502f8552ec50e495ec4c.wiktor@gentoo> (raw)

commit:     8c5ea20841f3fbb5eba8502f8552ec50e495ec4c
Author:     wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
AuthorDate: Thu Jul  7 18:02:05 2011 +0000
Commit:     Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
CommitDate: Thu Jul  7 18:02:05 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=8c5ea208

Store sync mirrors

---
 anaconda                    |    1 +
 iw/mirrorselect-sync_gui.py |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/anaconda b/anaconda
index 5ee3567..6c8fb37 100755
--- a/anaconda
+++ b/anaconda
@@ -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



             reply	other threads:[~2011-07-07 18:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 18:02 Wiktor W Brodlo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-21 20:33 [gentoo-commits] proj/anaconda:master commit in: /, iw/ Wiktor W Brodlo
2011-07-21 14:12 Wiktor W Brodlo
2011-07-20 23:05 Wiktor W Brodlo
2011-07-20 23:05 Wiktor W Brodlo
2011-07-20 23:05 Wiktor W Brodlo
2011-07-20 23:05 Wiktor W Brodlo
2011-07-20 23:05 Wiktor W Brodlo
2011-07-20 23:05 Wiktor W Brodlo
2011-07-20 23:05 Wiktor W Brodlo
2011-07-20 22:26 Wiktor W Brodlo
2011-07-20 22:09 Wiktor W Brodlo
2011-07-07 18:00 Wiktor W Brodlo
2011-07-07 17:22 Wiktor W Brodlo
2011-07-04 22:24 Wiktor W Brodlo
2011-07-04 16:04 Wiktor W Brodlo
2011-07-03 19:18 Wiktor W Brodlo
2011-07-03 18:59 Wiktor W Brodlo
2011-06-30 22:12 Wiktor W Brodlo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8c5ea20841f3fbb5eba8502f8552ec50e495ec4c.wiktor@gentoo \
    --to=wiktor@brodlo.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox