]> www.fi.muni.cz Git - evince.git/commitdiff
Fix thumbnails rotation when loading a rotated document
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 20 Sep 2009 13:48:03 +0000 (15:48 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 20 Sep 2009 13:48:03 +0000 (15:48 +0200)
Fixes bgo#595718.

shell/ev-sidebar-thumbnails.c

index e104c3eb3e3e6391582d3f9f1af3bb91b5ce4503..3e3f4bece27d8d7071028dc9fe0928e0d4281b28 100644 (file)
@@ -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,