[Sugar-devel] Activity title update

Gonzalo Odiard godiard at gmail.com
Sun Jul 18 16:41:08 EDT 2010


> Tomeu's testcase proved that gtk delivers focus-out-event reliably with
> normal buttons. We need to figure out why it doesn't seem to be the case
> in toolbars. Maybe we could add a few prints in the callbacks.
>
> Can this resolve the problem?

[root at aronax graphics]# diff -u toolbutton.py.ori toolbutton.py
--- toolbutton.py.ori    2010-07-18 17:39:27.374544801 -0300
+++ toolbutton.py    2010-07-18 17:39:58.198297844 -0300
@@ -160,3 +160,5 @@
     def do_clicked(self):
         if self.palette:
             self.palette.popdown(True)
+        else:
+            gtk.ToolButton(self)



-- 
Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100718/fd10cf4f/attachment.htm 


More information about the Sugar-devel mailing list