]> www.fi.muni.cz Git - evince.git/commitdiff
[thumbnails] Remarks the selected thumbnail after rotation
authorJuanjo Marín <juanj.marin@juntadeandalucia.es>
Sun, 27 Sep 2009 14:57:59 +0000 (16:57 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 27 Sep 2009 14:57:59 +0000 (16:57 +0200)
Fixes bgo#595548.

shell/ev-sidebar-thumbnails.c

index 3e3f4bece27d8d7071028dc9fe0928e0d4281b28..c3df2d8a03b50023479f8828b6b7b702e7378911 100644 (file)
@@ -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);
 }