[Sugar-devel] [PATCH] Key dialog: fix label creation
Daniel Drake
dsd at laptop.org
Mon Oct 8 17:35:04 EDT 2012
This incorrect syntax was probably introduced by pygi-convert.
This was one of the issues preventing the wireless key dialog from
popping up.
---
src/jarabe/desktop/keydialog.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/jarabe/desktop/keydialog.py b/src/jarabe/desktop/keydialog.py
index 5215d05..a0509d9 100644
--- a/src/jarabe/desktop/keydialog.py
+++ b/src/jarabe/desktop/keydialog.py
@@ -134,7 +134,7 @@ class WEPKeyDialog(KeyDialog):
self.key_combo.connect('changed', self._key_combo_changed_cb)
hbox = Gtk.HBox()
- hbox.pack_start(Gtk.Label(_('Key Type:', True, True, 0)))
+ hbox.pack_start(Gtk.Label(_('Key Type:')), True, True, 0)
hbox.pack_start(self.key_combo, True, True, 0)
hbox.show_all()
self.vbox.pack_start(hbox, True, True, 0)
@@ -154,7 +154,7 @@ class WEPKeyDialog(KeyDialog):
self.auth_combo.set_active(0)
hbox = Gtk.HBox()
- hbox.pack_start(Gtk.Label(_('Authentication Type:', True, True, 0)))
+ hbox.pack_start(Gtk.Label(_('Authentication Type:')), True, True, 0)
hbox.pack_start(self.auth_combo, True, True, 0)
hbox.show_all()
--
1.7.11.4
More information about the Sugar-devel
mailing list