From b60e6ae1e490c08530322f82af31f34dffb8110f Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Wed, 26 Jan 2005 23:31:43 +0000 Subject: (ev_sidebar_thumbnails_select_page): make sure the selected thumbnail stays visible. --- (limited to 'shell') 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); } } -- cgit v0.9.1