1 |
commit: ea34b0f174d3f4ee1834c3743fc0c8ee1460894a |
2 |
Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net> |
3 |
AuthorDate: Sun Jul 3 18:51:17 2011 +0000 |
4 |
Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net> |
5 |
CommitDate: Sun Jul 3 18:51:17 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=ea34b0f1 |
7 |
|
8 |
I'm not touching mirrorselect again! |
9 |
|
10 |
--- |
11 |
iw/mirrorselect_gui.py | 2 ++ |
12 |
ui/mirrorselect.glade | 9 +++++++++ |
13 |
2 files changed, 11 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py |
16 |
index 997f88d..0bfd275 100644 |
17 |
--- a/iw/mirrorselect_gui.py |
18 |
+++ b/iw/mirrorselect_gui.py |
19 |
@@ -84,6 +84,7 @@ class MirrorselectWindow(InstallWindow): |
20 |
|
21 |
cb = gtk.CheckButton(label=data["url"], use_underline=False) |
22 |
name = gtk.Label("%s: %s\n%s" % (region, country, mirror)) |
23 |
+ name.set_alignment(0, 0) |
24 |
|
25 |
flags_text = data["proto"] |
26 |
if data["ipv4"] == "y": |
27 |
@@ -91,6 +92,7 @@ class MirrorselectWindow(InstallWindow): |
28 |
if data["ipv6"] == "y": |
29 |
flags_text += " ipv6" |
30 |
flags = gtk.Label(flags_text) |
31 |
+ flags.set_alignment(0, 0) |
32 |
|
33 |
table.attach(cb, 0, 1, rows, rows+1, gtk.Fill) |
34 |
table.attach(name, 1, 2, rows, rows+1) |
35 |
|
36 |
diff --git a/ui/mirrorselect.glade b/ui/mirrorselect.glade |
37 |
index 7407f9a..9964f03 100644 |
38 |
--- a/ui/mirrorselect.glade |
39 |
+++ b/ui/mirrorselect.glade |
40 |
@@ -43,12 +43,19 @@ In order to download source code quickly it is recommended to select a fast mirr |
41 |
<child> |
42 |
<widget class="GtkLabel" id="label2"> |
43 |
<property name="visible">True</property> |
44 |
+ <property name="xalign">0</property> |
45 |
+ <property name="yalign">0</property> |
46 |
<property name="label" translatable="yes">Mirror URL</property> |
47 |
</widget> |
48 |
+ <packing> |
49 |
+ <property name="x_options">GTK_FILL</property> |
50 |
+ </packing> |
51 |
</child> |
52 |
<child> |
53 |
<widget class="GtkLabel" id="label3"> |
54 |
<property name="visible">True</property> |
55 |
+ <property name="xalign">0</property> |
56 |
+ <property name="yalign">0</property> |
57 |
<property name="label" translatable="yes">Region: Country |
58 |
Mirror Name</property> |
59 |
</widget> |
60 |
@@ -60,6 +67,8 @@ Mirror Name</property> |
61 |
<child> |
62 |
<widget class="GtkLabel" id="label4"> |
63 |
<property name="visible">True</property> |
64 |
+ <property name="xalign">0</property> |
65 |
+ <property name="yalign">0</property> |
66 |
<property name="label" translatable="yes">Flags</property> |
67 |
</widget> |
68 |
<packing> |