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-361502-garchives=archives.gentoo.org@lists.gentoo.org>) id 1QfgFi-0006gv-1r for garchives@archives.gentoo.org; Sat, 09 Jul 2011 22:43:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4EB6121C08D; Sat, 9 Jul 2011 22:43:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1B28C21C08D for <gentoo-commits@lists.gentoo.org>; Sat, 9 Jul 2011 22:43:46 +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 6544F1B4064 for <gentoo-commits@lists.gentoo.org>; Sat, 9 Jul 2011 22:43:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A87F48003D for <gentoo-commits@lists.gentoo.org>; Sat, 9 Jul 2011 22:43:45 +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: <fe7c9eebea59eae21160ee290dba1e44b4cf190a.wiktor@gentoo> Subject: [gentoo-commits] proj/anaconda:master commit in: iw/ X-VCS-Repository: proj/anaconda X-VCS-Files: iw/xorg_gui.py X-VCS-Directories: iw/ X-VCS-Committer: wiktor X-VCS-Committer-Name: Wiktor W Brodlo X-VCS-Revision: fe7c9eebea59eae21160ee290dba1e44b4cf190a Date: Sat, 9 Jul 2011 22:43:45 +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: da4a3942f9f872deefc209473f0cdbd4 commit: fe7c9eebea59eae21160ee290dba1e44b4cf190a Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net> AuthorDate: Sat Jul 9 22:43:29 2011 +0000 Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net> CommitDate: Sat Jul 9 22:43:29 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3Dfe7c9eeb iw/xorg_gui.py: force the X USE flag if installing Xorg --- iw/xorg_gui.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/iw/xorg_gui.py b/iw/xorg_gui.py index af0434a..aef4e8d 100644 --- a/iw/xorg_gui.py +++ b/iw/xorg_gui.py @@ -41,6 +41,12 @@ class XorgWindow(InstallWindow): cb =3D self.xml.get_widget(de) if cb.get_property("active"): self.anaconda.xorg =3D de + # All DEs need the X use flag + if self.anaconda.xorg: + if "X" not in self.anaconda.use_flags: + self.anaconda.use_flags.append("X") + if "-X" in self.anaconda.use_flags: + del self.anaconda.use_flags.index("-X") return None =20 def getScreen(self, anaconda):