Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-10-08 21:35:04 (GMT)
committer Manuel QuiƱones <manuq@laptop.org>2012-10-09 13:38:39 (GMT)
commit642416bab7afd62bb6879e2ba97377308d44370c (patch)
tree5641ac59e0c31870d8d66847f4060913dbc830d4
parente8dde33b0b2fbde94d0f5e6596271031bbbf2e67 (diff)
Key dialog: fix label creation
This incorrect syntax was probably introduced by pygi-convert. This was one of the issues preventing the wireless key dialog from popping up. Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Manuel QuiƱones <manuq@laptop.org>
-rw-r--r--src/jarabe/desktop/keydialog.py4
1 files 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()