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:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-02-01 19:13:53 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-02-01 19:13:53 (GMT)
commite2137316b9264832a019b3f26411d10cb46a9598 (patch)
tree693c18797072bd338d8d0f0fc50de76f091d60a7 /shell/ev-page-cache.h
parentd2ac321bceb0da7a82ed651273d0fa7bfc028886 (diff)
Place even pages to the left if document has less then two pages. Fix for
* shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_new), (ev_page_cache_get_max_label_chars), (ev_page_cache_get_dual_even_left): * shell/ev-page-cache.h: * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents): Place even pages to the left if document has less then two pages. Fix for the bug #328856.
Diffstat (limited to 'shell/ev-page-cache.h')
-rw-r--r--shell/ev-page-cache.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/ev-page-cache.h b/shell/ev-page-cache.h
index 2886cce..0ad20e8 100644
--- a/shell/ev-page-cache.h
+++ b/shell/ev-page-cache.h
@@ -23,8 +23,6 @@
#include <gtk/gtkwidget.h>
#include "ev-document.h"
-#define DUAL_EVEN_LEFT 1
-
G_BEGIN_DECLS
#define EV_TYPE_PAGE_CACHE (ev_page_cache_get_type ())
#define EV_PAGE_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_PAGE_CACHE, EvPageCache))
@@ -62,6 +60,8 @@ char *ev_page_cache_get_page_label (EvPageCache *page_cache,
gboolean ev_page_cache_has_nonnumeric_page_labels (EvPageCache *page_cache);
const EvDocumentInfo *ev_page_cache_get_info (EvPageCache *page_cache);
+gboolean ev_page_cache_get_dual_even_left (EvPageCache *page_cache);
+
/* Navigation */
gint ev_page_cache_get_current_page (EvPageCache *page_cache);
void ev_page_cache_set_current_page (EvPageCache *page_cache,
@@ -71,6 +71,7 @@ gboolean ev_page_cache_set_page_label (EvPageCache *page_cache,
EvPageCache *ev_page_cache_get (EvDocument *document);
+
G_END_DECLS
#endif /* __EV_PAGE_CACHE_H__ */