From: Nickolay V. Shmyrev Date: Mon, 29 May 2006 16:26:31 +0000 (+0000) Subject: Update sidebar thumbnails after reload X-Git-Tag: EVINCE_0_5_4~40 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=a28fb93e4686baf35eadb2291c555dd85a1ef47a;p=evince.git Update sidebar thumbnails after reload --- diff --git a/ChangeLog b/ChangeLog index 8b019ec0..40700f1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ -2006-05-29 Nickolay V. Shmyrev <> +2006-05-29 Nickolay V. Shmyrev + + * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_refresh), + (ev_sidebar_thumbnails_set_document): + + Update sidebar thumbnails after reloading. + +2006-05-29 Nickolay V. Shmyrev * shell/ev-jobs.c: (ev_job_xfer_dispose), (ev_job_xfer_new): * shell/ev-jobs.h: diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index b454dd54..ec831491 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -379,7 +379,6 @@ ev_sidebar_thumbnails_set_loading_icon (EvSidebarThumbnails *sidebar_thumbnails) } void ev_sidebar_thumbnails_refresh (EvSidebarThumbnails *sidebar_thumbnails, - int rotation) { sidebar_thumbnails->priv->rotation = rotation; @@ -596,6 +595,8 @@ ev_sidebar_thumbnails_set_document (EvSidebarPage *sidebar_page, if (! priv->icon_view) { ev_sidebar_init_icon_view (sidebar_thumbnails); g_object_notify (G_OBJECT (sidebar_thumbnails), "main_widget"); + } else { + gtk_widget_queue_resize (priv->icon_view); } } else { if (priv->icon_view) {