[evince] [thumbnails] Remarks the selected thumbnail after rotation



commit 501a245ba969a9e7aa4beba035fdcdef66d0e91b
Author: Juanjo Marín <juanj marin juntadeandalucia es>
Date:   Sun Sep 27 16:57:59 2009 +0200

    [thumbnails] Remarks the selected thumbnail after rotation
    
    Fixes bgo#595548.

 shell/ev-sidebar-thumbnails.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index 3e3f4be..c3df2d8 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);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]