Updating branch refs/heads/master to fea1485bc0f14dbf5521cc41a0f501abc8b633a4 (commit) from 002506c5d92da08454e443e23faf6b18250d6852 (commit)
commit fea1485bc0f14dbf5521cc41a0f501abc8b633a4 Author: Christian Dywan <christ...@twotoasts.de> Date: Wed Jun 2 23:54:29 2010 +0200 Grab focus of the message view when searching postler/postler-bureau.vala | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala index ffcea92..88e7541 100644 --- a/postler/postler-bureau.vala +++ b/postler/postler-bureau.vala @@ -227,7 +227,10 @@ public class Postler.Bureau : Gtk.Window { search = new Gtk.Entry (); /* FIXME: icons are available since GTK+ 2.16 */ search.set_icon_from_stock (Gtk.EntryIconPosition.PRIMARY, Gtk.STOCK_FIND); - search.activate.connect ((search) => {messages.search (search.text); } ); + search.activate.connect ((search) => { + messages.search (search.text); + messages.grab_focus (); + } ); search.set_icon_from_stock (Gtk.EntryIconPosition.SECONDARY, Gtk.STOCK_CLEAR); search.icon_release.connect ((position, event) => { search.text = ""; _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits