[Sugar-devel] [PATCH sugar] Fix traceback when closing object chooser

Manuel Quiñones manuq at laptop.org
Thu Nov 1 08:43:33 EDT 2012


Good catch Daniel!  Pushed.


2012/10/30 Daniel Narvaez <dwnarvaez at gmail.com>
>
> From: Daniel Narvaez <dwnarvaez at gmail.com>
>
> The code had not been updated to the introspection API.
> ---
>  src/jarabe/journal/objectchooser.py |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/jarabe/journal/objectchooser.py b/src/jarabe/journal/objectchooser.py
> index d860b0d..8a664c4 100644
> --- a/src/jarabe/journal/objectchooser.py
> +++ b/src/jarabe/journal/objectchooser.py
> @@ -104,7 +104,7 @@ class ObjectChooser(Gtk.Window):
>          # TODO: Should we disconnect the signal here?
>
>      def __window_closed_cb(self, screen, window, parent):
> -        if window.get_xid() == parent.xid:
> +        if window.get_xid() == parent.get_xid():
>              self.destroy()
>
>      def __entry_activated_cb(self, list_view, uid):
> --
> 1.7.10.2
>
> _______________________________________________
> 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