Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-sidebar-thumbnails.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-04-22 17:12:42 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-04-22 17:12:42 (GMT)
commitecc5ef5d1ba136113da805933cfef38652fd47a9 (patch)
treec064a9fb9939626dab2c29be9e9ed799e12f24bf /shell/ev-sidebar-thumbnails.c
parent97f1c52d76126a7bf54dff9082181979379c3ae6 (diff)
Start rendering pages before any other jobs.
2007-04-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_setup_document), (ev_window_set_document), (ev_window_load_job_cb): * shell/ev-view.c: (setup_caches): * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): Start rendering pages before any other jobs. svn path=/trunk/; revision=2417
Diffstat (limited to 'shell/ev-sidebar-thumbnails.c')
-rw-r--r--shell/ev-sidebar-thumbnails.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index 75b735d..d6a8af5 100644
--- a/shell/ev-sidebar-thumbnails.c
+++ b/shell/ev-sidebar-thumbnails.c
@@ -676,6 +676,9 @@ ev_sidebar_thumbnails_set_document (EvSidebarPage *sidebar_page,
g_signal_connect (priv->page_cache, "page-changed", G_CALLBACK (page_changed_cb), sidebar_thumbnails);
sidebar_thumbnails->priv->start_page = 0;
sidebar_thumbnails->priv->end_page = 0;
+ page_changed_cb (priv->page_cache,
+ ev_page_cache_get_current_page (priv->page_cache),
+ sidebar_thumbnails);
adjustment_changed_cb (sidebar_thumbnails);
}