From: Juanjo MarĂ­n Date: Sun, 27 Sep 2009 14:57:59 +0000 (+0200) Subject: [thumbnails] Remarks the selected thumbnail after rotation X-Git-Tag: EVINCE_2_29_1~66 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=501a245ba969a9e7aa4beba035fdcdef66d0e91b;p=evince.git [thumbnails] Remarks the selected thumbnail after rotation Fixes bgo#595548. --- diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index 3e3f4bec..c3df2d8a 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); }