Gentoo Archives: gentoo-commits

From: Wiktor W Brodlo <wiktor@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/anaconda:master commit in: iw/
Date: Tue, 05 Jul 2011 12:33:08
Message-Id: 2a7536e8f56298a6cf4f938f43fca186e6453a76.wiktor@gentoo
1 commit: 2a7536e8f56298a6cf4f938f43fca186e6453a76
2 Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
3 AuthorDate: Tue Jul 5 12:32:48 2011 +0000
4 Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
5 CommitDate: Tue Jul 5 12:32:48 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=2a7536e8
7
8 iw/profile_gui.py: fix radiobutton creation
9
10 ---
11 iw/profile_gui.py | 4 ++--
12 1 files changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/iw/profile_gui.py b/iw/profile_gui.py
15 index 6641b31..ecc35cd 100644
16 --- a/iw/profile_gui.py
17 +++ b/iw/profile_gui.py
18 @@ -60,10 +60,10 @@ class ProfileWindow(InstallWindow):
19 box = self.xml.get_widget("profiles_box")
20
21 # This isn't on the page but is required to make a group dynamically.
22 - dummy = gtk.RadioButton(label=profile)
23 + dummy = gtk.RadioButton()
24
25 for profile in profiles:
26 - cb = gtk.RadioButton(dummy, label=profile)
27 + cb = gtk.RadioButton(group=dummy, label=profile, use_underline=False)
28 box.pack_start(cb)
29
30 self.buttons = dummy.get_group()