<br><br><div class="gmail_quote">On Fri, Oct 15, 2010 at 8:36 AM, Tomeu Vizoso <span dir="ltr"><<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Thu, Oct 14, 2010 at 20:09, <<a href="mailto:godiard@sugarlabs.org">godiard@sugarlabs.org</a>> wrote:<br>
> From: Gonzalo Odiard <<a href="mailto:godiard@sugarlabs.org">godiard@sugarlabs.org</a>><br>
><br>
> This is a regresion, probably introduced when changed the toolbar.<br>
> May be pass self.abiword_canvas and self to ImageToolbar is not the smarter option.<br>
<br>
</div>You are right, would be better if the activity listened to signals in<br>
the toolbar and called methods on the canvas as a result.<br>
<br>
But in this case, the toolbar can get a reference to the top level window with:<br>
<br>
<a href="http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#method-gtkwidget--get-toplevel" target="_blank">http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#method-gtkwidget--get-toplevel</a><br>
<br></blockquote><div><br>Ok, i will redo the patch.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Btw, is Write maintained these days?<br></blockquote><div><br><br>Good question :) You are one of the co-maintainers ;) <a href="http://wiki.sugarlabs.org/go/Development_Team/Release/Modules">http://wiki.sugarlabs.org/go/Development_Team/Release/Modules</a><br>
</div>Regards<br><br>Gonzalo<br>
</div>