[Sugar-devel] [PATCH] Key dialog: fix label creation

Manuel Quiñones manuq at laptop.org
Tue Oct 9 09:42:08 EDT 2012


Thanks Daniel, pushed 642416ba .

2012/10/8 Daniel Drake <dsd at laptop.org>:
> 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
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
.. manuq ..


More information about the Sugar-devel mailing list