From 501a245ba969a9e7aa4beba035fdcdef66d0e91b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Juanjo=20Mar=C3=ADn?= Date: Sun, 27 Sep 2009 16:57:59 +0200 Subject: [PATCH] [thumbnails] Remarks the selected thumbnail after rotation Fixes bgo#595548. --- shell/ev-sidebar-thumbnails.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index 3e3f4bec..c3df2d8a 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -785,6 +785,8 @@ ev_sidebar_thumbnails_rotation_changed_cb (EvDocumentModel *model, /* Trigger a redraw */ sidebar_thumbnails->priv->start_page = -1; sidebar_thumbnails->priv->end_page = -1; + ev_sidebar_thumbnails_set_current_page (sidebar_thumbnails, + ev_document_model_get_page (model)); g_idle_add ((GSourceFunc)refresh, sidebar_thumbnails); } -- 2.43.5