X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-sidebar-thumbnails.c;h=390e14fa61c08e9a347f4816ae2182cadcec676a;hb=0708c4d93445c00b9a373fe0a93d805de2018614;hp=a860c5e1fcf6390e1826081b7c22ee27c8809dfa;hpb=aaccf7d56c9d1c82ec83e12b64d303966a3e0035;p=evince.git diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index a860c5e1..390e14fa 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -725,7 +725,7 @@ ev_sidebar_thumbnails_set_current_page (EvSidebarThumbnails *sidebar, (sidebar->priv->icon_view, G_CALLBACK (ev_sidebar_icon_selection_changed), sidebar); - gtk_icon_view_set_cursor (GTK_ICON_VIEW (sidebar->priv->icon_view), path, NULL, FALSE); + gtk_icon_view_scroll_to_path (GTK_ICON_VIEW (sidebar->priv->icon_view), path, FALSE, 0.0, 0.0); } gtk_tree_path_free (path);