diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-04-13 03:11:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-13 03:11:14 +0800 |
commit | ce0f8cd06e231e2fc125401a4339b5e628cd9ffd (patch) | |
tree | 1a62854da3f18feca0fc140555da70238a845a64 /mail | |
parent | 315602a7406e49973c18b16aeb83b51286ebca04 (diff) | |
download | gsoc2013-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')
-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); |