[Xfce4-commits] <postler:master> Grab focus of the message view when selecting folder

Christian Dywan noreply at xfce.org
Thu Jun 3 03:24:04 CEST 2010


Updating branch refs/heads/master
         to 32171bfe45ad8da30fb735a7b0232b0341b81079 (commit)
       from 0b0a8b714d367a837b85de1fe5a196cc38f3e1e7 (commit)

commit 32171bfe45ad8da30fb735a7b0232b0341b81079
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jun 2 23:18:28 2010 +0200

    Grab focus of the message view when selecting folder

 postler/postler-folders.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/postler/postler-folders.vala b/postler/postler-folders.vala
index 8007987..85ad8e4 100644
--- a/postler/postler-folders.vala
+++ b/postler/postler-folders.vala
@@ -124,8 +124,10 @@ public class Postler.Folders : Gtk.TreeView {
         requires (messages != null) {
         string location;
         store.get (iter, Columns.LOCATION, out location, -1);
-        if (location != null)
+        if (location != null) {
             messages.populate (location);
+            messages.grab_focus ();
+        }
         else
             messages.clear ();
     }



More information about the Xfce4-commits mailing list