1 |
commit: 2d2eaad9223641e7728c4eca6dd9ec3f22cb2fb1 |
2 |
Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net> |
3 |
AuthorDate: Mon Jul 4 13:41:53 2011 +0000 |
4 |
Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net> |
5 |
CommitDate: Mon Jul 4 13:41:53 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=2d2eaad9 |
7 |
|
8 |
USE dialog: keep descriptions to the left |
9 |
|
10 |
--- |
11 |
iw/use_gui.py | 4 +++- |
12 |
ui/use.glade | 4 ++++ |
13 |
2 files changed, 7 insertions(+), 1 deletions(-) |
14 |
|
15 |
diff --git a/iw/use_gui.py b/iw/use_gui.py |
16 |
index f2980ae..d903c42 100644 |
17 |
--- a/iw/use_gui.py |
18 |
+++ b/iw/use_gui.py |
19 |
@@ -67,8 +67,10 @@ class UseWindow(InstallWindow): |
20 |
rows = table.get_property("n-rows") |
21 |
table.resize(rows+1, cols) |
22 |
|
23 |
+ l = gtk.Label(use[flag]) |
24 |
+ l.set_alignment(0,0) |
25 |
table.attach(gtk.CheckButton(label=flag), 0, 1, rows, rows+1, gtk.FILL) |
26 |
- table.attach(gtk.Label(use[flag]), 1, 2, rows, rows+1) |
27 |
+ table.attach(l, 1, 2, rows, rows+1) |
28 |
|
29 |
return self.align |
30 |
|
31 |
|
32 |
diff --git a/ui/use.glade b/ui/use.glade |
33 |
index fea3bff..cf760b2 100644 |
34 |
--- a/ui/use.glade |
35 |
+++ b/ui/use.glade |
36 |
@@ -53,6 +53,8 @@ Pick your flags by selecting them. Your profile already set some of the flags, b |
37 |
<child> |
38 |
<widget class="GtkLabel" id="label2"> |
39 |
<property name="visible">True</property> |
40 |
+ <property name="xalign">0</property> |
41 |
+ <property name="yalign">0</property> |
42 |
<property name="label" translatable="yes">Flag</property> |
43 |
</widget> |
44 |
<packing> |
45 |
@@ -63,6 +65,8 @@ Pick your flags by selecting them. Your profile already set some of the flags, b |
46 |
<child> |
47 |
<widget class="GtkLabel" id="label3"> |
48 |
<property name="visible">True</property> |
49 |
+ <property name="xalign">0</property> |
50 |
+ <property name="yalign">0</property> |
51 |
<property name="label" translatable="yes">Description</property> |
52 |
</widget> |
53 |
<packing> |