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-01-07 13:18:28 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-01-07 13:18:28 (GMT)
commiteb3d8c8e3df570e32e2591eeb650de55dba2f613 (patch)
treec5bc36c96ca488c1d8e3831b9f6148993e3a21ce /shell/ev-page-cache.h
parentc18ba99a47d356a013ac74febcfca6f8f0e18dd5 (diff)
Dual mode places even pages to the left. Fix for the bug #309393.
* shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_get_height_to_page): * shell/ev-page-cache.h: * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents), (ev_view_next_page), (ev_view_previous_page): Dual mode places even pages to the left. Fix for the bug #309393. * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (setup_view_from_metadata), (view_menu_popup_cb): Don't restore presentation in empty windows, more intelligent next page behaviour in dual mode. * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (ev_pixbuf_cache_clear_job_sizes): Cleanup job callback on removal. Fix for the bug #325886.
Diffstat (limited to 'shell/ev-page-cache.h')
-rw-r--r--shell/ev-page-cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-page-cache.h b/shell/ev-page-cache.h
index 6d8955e..2886cce 100644
--- a/shell/ev-page-cache.h
+++ b/shell/ev-page-cache.h
@@ -23,6 +23,8 @@
#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))