From 1886f2d9811de051ca6e28c1a0a38b336632244e Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 20 Sep 2009 13:48:03 +0000 Subject: Fix thumbnails rotation when loading a rotated document Fixes bgo#595718. --- 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, -- cgit v0.9.1