[Sugar-devel] Activity title update

James Cameron quozl at laptop.org
Tue Jul 6 04:41:12 EDT 2010


On Mon, Jul 05, 2010 at 11:57:42AM -0400, Bernie Innocenti wrote:
> On Mon, 2010-07-05 at 16:37 +0200, Tomeu Vizoso wrote:
> 
> > But you can do the same with Gtk+, cannot you?
> > 
> > "This signal is emitted when the Return or Enter key is pressed or the
> > line edit loses focus"
> 
> No, GTK does not seem to send a "focus-out-event" when the user clicks
> on the close button. Which is what makes my approach fail.

In other applications, I've synthesised this event in the callback on
the close button.

One might also catch mouse motion and conclude editing has ended when
the mouse is ordered away from the text entry widget.

As for metadata taking ~1 sec to update ... wow, that's slow!

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list