Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-page-cache.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-08-17 20:23:46 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-08-17 20:23:46 (GMT)
commit7657f1a15f49ea7aaf6c33c10a9d22095a9187ac (patch)
tree527ae403ef26ed09a27e1bcead45e34dc6e9df57 /shell/ev-page-cache.h
parentf636661bcd189fefca5dad99deca9088d4a4b317 (diff)
Also store in page-cache the dimensions of the thumbnails so that they can
2007-08-17 Carlos Garcia Campos <carlosgc@gnome.org> * 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
Diffstat (limited to 'shell/ev-page-cache.h')
-rw-r--r--shell/ev-page-cache.h5
1 files changed, 5 insertions, 0 deletions
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);