* Set focus on folder-view at startup to show correctly
authorJavier Fernandez Garcia-Boente <jfernandez@igalia.com>
Wed, 8 Aug 2007 14:11:07 +0000 (14:11 +0000)
committerJavier Fernandez Garcia-Boente <jfernandez@igalia.com>
Wed, 8 Aug 2007 14:11:07 +0000 (14:11 +0000)
the main window title.
* Fixes: NB#61815

pmo-trunk-r2949

src/widgets/modest-folder-view.c

index 121fa13..46e2c26 100644 (file)
@@ -2136,6 +2136,9 @@ modest_folder_view_select_first_inbox_or_local (ModestFolderView *self)
        /* Select the row and free */
        gtk_tree_view_set_cursor (GTK_TREE_VIEW (self), path, NULL, FALSE);
        gtk_tree_path_free (path);
+
+       /* set focus */
+       gtk_widget_grab_focus (GTK_WIDGET(self));
 }