[evince] Fix thumbnails rotation when loading a rotated document



commit 1886f2d9811de051ca6e28c1a0a38b336632244e
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Sep 20 15:48:03 2009 +0200

    Fix thumbnails rotation when loading a rotated document
    
    Fixes bgo#595718.

 shell/ev-sidebar-thumbnails.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index e104c3e..3e3f4be 100644
--- a/shell/ev-sidebar-thumbnails.c
+++ b/shell/ev-sidebar-thumbnails.c
@@ -821,6 +821,7 @@ ev_sidebar_thumbnails_document_changed_cb (EvDocumentModel     *model,
 	priv->size_cache = ev_thumbnails_size_cache_get (document);
 	priv->document = document;
 	priv->n_pages = ev_document_get_n_pages (document);
+	priv->rotation = ev_document_model_get_rotation (model);
 	priv->loading_icons = g_hash_table_new_full (g_str_hash,
 						     g_str_equal,
 						     (GDestroyNotify)g_free,



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