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 ) id 1QonTr-0002fY-Av for garchives@archives.gentoo.org; Thu, 04 Aug 2011 02:16:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 376CB21C0EA; Thu, 4 Aug 2011 02:16:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 09E7121C0EF for ; Thu, 4 Aug 2011 02:16:07 +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 8058A1B4034 for ; Thu, 4 Aug 2011 02:16:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 55DC88004A for ; Thu, 4 Aug 2011 02:16:06 +0000 (UTC) From: "Wiktor W Brodlo" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wiktor W Brodlo" Message-ID: 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: c6a03d072684381bf66ecb0b6c06daedcbf6ac25 Date: Thu, 4 Aug 2011 02:16:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: b2998092fe630b0e83deb2518e48ef3e commit: c6a03d072684381bf66ecb0b6c06daedcbf6ac25 Author: wiktor w brodlo brodlo net> AuthorDate: Thu Aug 4 02:11:56 2011 +0000 Commit: Wiktor W Brodlo brodlo net> CommitDate: Thu Aug 4 02:11:56 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3Dc6a03d07 iw/profile_gui.py: validation --- iw/profile_gui.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/iw/profile_gui.py b/iw/profile_gui.py index 8b289f8..4081e2e 100644 --- a/iw/profile_gui.py +++ b/iw/profile_gui.py @@ -41,6 +41,9 @@ class ProfileWindow(InstallWindow): self.anaconda.profile =3D button.get_property("label") # We need this for the USE flags subprocess.call(["eselect", "profile", "set", self.anaconda.profile]) + if self.anaconda.profile =3D=3D None: + self.anaconda.intf.messageWindow(_("Select profile"), _("You must sel= ect a profile!")) + raise gui.StayOnScreen return None =20 def getScreen(self, anaconda):