Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMartin Kretzschmar <martink@src.gnome.org>2005-01-26 23:31:43 (GMT)
committer Martin Kretzschmar <martink@src.gnome.org>2005-01-26 23:31:43 (GMT)
commitb60e6ae1e490c08530322f82af31f34dffb8110f (patch)
tree367fb7b85d461aaff4fc85fbf3c31d9f58346e9f /shell
parent5d216445e27ff33e631033ad1efc716b9e408970 (diff)
(ev_sidebar_thumbnails_select_page): make sure the selected thumbnail
stays visible.
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-sidebar-thumbnails.c2
1 files changed, 2 insertions, 0 deletions
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);
}
}