From: Carlos Garcia Campos Date: Sun, 20 Sep 2009 13:48:03 +0000 (+0200) Subject: Fix thumbnails rotation when loading a rotated document X-Git-Tag: EVINCE_2_29_1~77 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=1886f2d9811de051ca6e28c1a0a38b336632244e;p=evince.git 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 e104c3eb..3e3f4bec 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,