diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-05-29 16:26:31 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-05-29 16:26:31 (GMT) |
commit | a28fb93e4686baf35eadb2291c555dd85a1ef47a (patch) | |
tree | bd5911acc6ee8033b44f89493886890f9d292c2b | |
parent | 363996497c9b439597d46f002e995055e368d7a8 (diff) |
Update sidebar thumbnails after reload
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | shell/ev-sidebar-thumbnails.c | 3 |
2 files changed, 10 insertions, 2 deletions
@@ -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: 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) { |