From a28fb93e4686baf35eadb2291c555dd85a1ef47a Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Mon, 29 May 2006 16:26:31 +0000 Subject: Update sidebar thumbnails after reload --- diff --git a/ChangeLog b/ChangeLog index 8b019ec..40700f1 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 b454dd5..ec83149 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) { -- cgit v0.9.1