]> www.fi.muni.cz Git - evince.git/commitdiff
Update sidebar thumbnails after reload
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 29 May 2006 16:26:31 +0000 (16:26 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 29 May 2006 16:26:31 +0000 (16:26 +0000)
ChangeLog
shell/ev-sidebar-thumbnails.c

index 8b019ec0d105dcec564c7ad83818c58397f26ef7..40700f1d8e492a48eee5e5db78610eb94690775e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
-2006-05-29  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
+2006-05-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * 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  <nshmyrev@yandex.ru>
 
        * shell/ev-jobs.c: (ev_job_xfer_dispose), (ev_job_xfer_new):
        * shell/ev-jobs.h:
index b454dd5463b347eb4ad7e38a73df8b5d18ef4d0a..ec831491b742fd709e605a9f943b77d4b62bdd81 100644 (file)
@@ -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) {