summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-sidebar-thumbnails.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index b677d032..df02bb5c 100644
--- a/shell/ev-sidebar-thumbnails.c
+++ b/shell/ev-sidebar-thumbnails.c
@@ -794,7 +794,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);