]> www.fi.muni.cz Git - evince.git/commitdiff
(ev_sidebar_thumbnails_select_page): make sure the selected thumbnail
authorMartin Kretzschmar <martink@src.gnome.org>
Wed, 26 Jan 2005 23:31:43 +0000 (23:31 +0000)
committerMartin Kretzschmar <martink@src.gnome.org>
Wed, 26 Jan 2005 23:31:43 +0000 (23:31 +0000)
stays visible.

ChangeLog
shell/ev-sidebar-thumbnails.c

index fa018218ed140d5c4942945c3deee54cc5479dcd..0a7ea8fd6282d5a285f0b8f7138701f6210b38b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 217c862fbdcb249d6b42fabc45b028b5aec208b4..3d13b5ef4b4051f1c61ee66c0b197e0deefbec27 100644 (file)
@@ -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);      
        }
 }