aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-13 03:11:14 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-13 03:11:14 +0800
commitce0f8cd06e231e2fc125401a4339b5e628cd9ffd (patch)
tree1a62854da3f18feca0fc140555da70238a845a64 /mail/em-folder-tree.c
parent315602a7406e49973c18b16aeb83b51286ebca04 (diff)
downloadgsoc2013-evolution-ce0f8cd06e231e2fc125401a4339b5e628cd9ffd.tar.gz
gsoc2013-evolution-ce0f8cd06e231e2fc125401a4339b5e628cd9ffd.tar.zst
gsoc2013-evolution-ce0f8cd06e231e2fc125401a4339b5e628cd9ffd.zip
Scroll to the auto-selected folder. Fixes bug #56707.
2004-04-12 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Scroll to the auto-selected folder. Fixes bug #56707. svn path=/trunk/; revision=25418
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index fdf75d9d17..0987ff04b6 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -2743,6 +2743,7 @@ em_folder_tree_set_selected (EMFolderTree *emft, const char *uri)
gtk_tree_view_expand_to_path (priv->treeview, tree_path);
selection = gtk_tree_view_get_selection (priv->treeview);
gtk_tree_selection_select_path (selection, tree_path);
+ gtk_tree_view_scroll_to_cell (priv->treeview, tree_path, NULL, FALSE, 0.0, 0.0);
gtk_tree_path_free (tree_path);
camel_object_unref (store);
g_free (path);