<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Tomeu&#39;s testcase proved that gtk delivers focus-out-event reliably with<br>
normal buttons. We need to figure out why it doesn&#39;t seem to be the case<br>
in toolbars. Maybe we could add a few prints in the callbacks.<br>
<font color="#888888"></font><br></blockquote></div>Can this resolve the problem?<br><br>[root@aronax graphics]# diff -u toolbutton.py.ori toolbutton.py<br>--- toolbutton.py.ori    2010-07-18 17:39:27.374544801 -0300<br>
+++ toolbutton.py    2010-07-18 17:39:58.198297844 -0300<br>@@ -160,3 +160,5 @@<br>     def do_clicked(self):<br>         if self.palette:<br>             self.palette.popdown(True)<br>+        else:<br>+            gtk.ToolButton(self)<br>
<br><br clear="all"><br>-- <br>Gonzalo<br>