From 7657f1a15f49ea7aaf6c33c10a9d22095a9187ac Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 17 Aug 2007 20:23:46 +0000 Subject: Also store in page-cache the dimensions of the thumbnails so that they can 2007-08-17 Carlos Garcia Campos * shell/ev-page-cache.c: (ev_page_cache_new), (ev_page_cache_get_thumbnail_size): * shell/ev-sidebar-thumbnails.c: (get_scale_for_page), (ev_sidebar_thumbnails_set_loading_icon): Also store in page-cache the dimensions of the thumbnails so that they can be used to create the correct loading icon in the side pane. Fixes bug #466857. svn path=/trunk/; revision=2630 --- (limited to 'shell/ev-page-cache.h') diff --git a/shell/ev-page-cache.h b/shell/ev-page-cache.h index d0ee002..e20068b 100644 --- a/shell/ev-page-cache.h +++ b/shell/ev-page-cache.h @@ -54,6 +54,11 @@ void ev_page_cache_get_height_to_page (EvPageCache *page_cache, gfloat scale, gint *height, gint *dual_height); +void ev_page_cache_get_thumbnail_size (EvPageCache *page_cache, + gint page, + gint rotation, + gint *width, + gint *height); gint ev_page_cache_get_max_label_chars (EvPageCache *page_cache); char *ev_page_cache_get_page_label (EvPageCache *page_cache, gint page); -- cgit v0.9.1