From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-359989-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Qe4s6-0000GX-Qk
	for garchives@archives.gentoo.org; Tue, 05 Jul 2011 12:36:59 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id ED6AE21C0AB;
	Tue,  5 Jul 2011 12:36:50 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id B7CB921C0AB
	for <gentoo-commits@lists.gentoo.org>; Tue,  5 Jul 2011 12:36:50 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 17EE31B4012
	for <gentoo-commits@lists.gentoo.org>; Tue,  5 Jul 2011 12:36:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 754B18003D
	for <gentoo-commits@lists.gentoo.org>; Tue,  5 Jul 2011 12:36:49 +0000 (UTC)
From: "Wiktor W Brodlo" <wiktor@brodlo.net>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Wiktor W Brodlo" <wiktor@brodlo.net>
Message-ID: <e5cdeb7d7ee10d56f640e3450c64112d8a001027.wiktor@gentoo>
Subject: [gentoo-commits] proj/anaconda:master commit in: iw/
X-VCS-Repository: proj/anaconda
X-VCS-Files: iw/profile_gui.py
X-VCS-Directories: iw/
X-VCS-Committer: wiktor
X-VCS-Committer-Name: Wiktor W Brodlo
X-VCS-Revision: e5cdeb7d7ee10d56f640e3450c64112d8a001027
Date: Tue,  5 Jul 2011 12:36:49 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 6da42fa728ffa507791fe3369b96b48a

commit:     e5cdeb7d7ee10d56f640e3450c64112d8a001027
Author:     wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
AuthorDate: Tue Jul  5 12:36:31 2011 +0000
Commit:     Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
CommitDate: Tue Jul  5 12:36:31 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;=
a=3Dcommit;h=3De5cdeb7d

iw/profile_gui.py: Set the selected profile (needed for USE flags)

---
 iw/profile_gui.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/iw/profile_gui.py b/iw/profile_gui.py
index ecc35cd..8b289f8 100644
--- a/iw/profile_gui.py
+++ b/iw/profile_gui.py
@@ -39,6 +39,8 @@ class ProfileWindow(InstallWindow):
 		for button in self.buttons:
 			if button.get_property("active"):
 				self.anaconda.profile =3D button.get_property("label")
+		# We need this for the USE flags
+		subprocess.call(["eselect", "profile", "set", self.anaconda.profile])
 		return None
=20
 	def getScreen(self, anaconda):