diff options
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index d9f4a9ab01..2e57296605 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 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. + * message-list.c (message_list_get_scrollbar_position): New function. (message_list_set_scrollbar_position): New function. 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); |