[Sugar-devel] [PATCH] fix SL #2001 - Write does not pass parent window xid to ObjectChooser
Gonzalo Odiard
godiard at sugarlabs.org
Fri Oct 15 11:00:00 EDT 2010
On Fri, Oct 15, 2010 at 8:36 AM, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:
> On Thu, Oct 14, 2010 at 20:09, <godiard at sugarlabs.org> wrote:
> > From: Gonzalo Odiard <godiard at sugarlabs.org>
> >
> > This is a regresion, probably introduced when changed the toolbar.
> > May be pass self.abiword_canvas and self to ImageToolbar is not the
> smarter option.
>
> You are right, would be better if the activity listened to signals in
> the toolbar and called methods on the canvas as a result.
>
> But in this case, the toolbar can get a reference to the top level window
> with:
>
>
> http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#method-gtkwidget--get-toplevel
>
>
Ok, i will redo the patch.
> Btw, is Write maintained these days?
>
Good question :) You are one of the co-maintainers ;)
http://wiki.sugarlabs.org/go/Development_Team/Release/Modules
Regards
Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101015/cead42e4/attachment.html>
More information about the Sugar-devel
mailing list