diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | shell/ev-sidebar-thumbnails.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2005-01-27 Martin Kretzschmar <martink@gnome.org> + + * shell/ev-sidebar-thumbnails.c + (ev_sidebar_thumbnails_select_page): make sure the selected + thumbnail stays visible. + 2005-01-26 Martin Kretzschmar <martink@gnome.org> * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index 217c862..3d13b5e 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -322,6 +322,8 @@ ev_sidebar_thumbnails_select_page (EvSidebarThumbnails *sidebar, if (path) { gtk_tree_selection_select_path (selection, path); + gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (sidebar->priv->tree_view), + path, NULL, FALSE, 0.0, 0.0); gtk_tree_path_free (path); } } |