From bca369672136e5ff831ece9832afd42085808fba Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Tue, 07 Jun 2005 23:28:54 +0000 Subject: PageCache and EvJobs are moved from backend to shell. Two new jobs to load document in background and a statusbar to display this process. FileChooser now can select multiple uris. --- (limited to 'shell/ev-sidebar-thumbnails.c') diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index 7f84be1..5d228f3 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -298,7 +298,7 @@ ev_sidebar_tree_selection_changed (GtkTreeSelection *selection, page = gtk_tree_path_get_indices (path)[0]; gtk_tree_path_free (path); - page_cache = ev_document_get_page_cache (priv->document); + page_cache = ev_page_cache_get (priv->document); ev_page_cache_set_current_page (page_cache, page); } @@ -403,7 +403,7 @@ ev_sidebar_thumbnails_set_document (EvSidebarPage *sidebar_page, g_return_if_fail (EV_IS_DOCUMENT_THUMBNAILS (document)); - page_cache = ev_document_get_page_cache (document); + page_cache = ev_page_cache_get (document); n_pages = ev_page_cache_get_n_pages (page_cache); priv->document = document; -- cgit v0.9.1