From: Martin Kretzschmar Date: Wed, 26 Jan 2005 23:31:43 +0000 (+0000) Subject: (ev_sidebar_thumbnails_select_page): make sure the selected thumbnail X-Git-Tag: EVINCE_0_1_3~30 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=b60e6ae1e490c08530322f82af31f34dffb8110f;p=evince.git (ev_sidebar_thumbnails_select_page): make sure the selected thumbnail stays visible. --- diff --git a/ChangeLog b/ChangeLog index fa018218..0a7ea8fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-27 Martin Kretzschmar + + * shell/ev-sidebar-thumbnails.c + (ev_sidebar_thumbnails_select_page): make sure the selected + thumbnail stays visible. + 2005-01-26 Martin Kretzschmar * 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 217c862f..3d13b5ef 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); } }