summaryrefslogtreecommitdiff
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
authorWilliam Jon McCann <[email protected]>2013-01-10 18:35:04 +0100
committerraveit65 <[email protected]>2017-08-31 13:28:21 +0200
commit2fb770b3245c3066cd9c556f12793f4ed69ee52d (patch)
treeffb21c769d2c05f7d7e768e1a8142e4539b23b0a /libview/ev-view-private.h
parent3e3b8bad7b5b272e3a535e7b3fe22c04fc722a78 (diff)
downloadatril-2fb770b3245c3066cd9c556f12793f4ed69ee52d.tar.bz2
atril-2fb770b3245c3066cd9c556f12793f4ed69ee52d.tar.xz
libview: Make page layout a mode
Instead of having a few different mutually exclusive booleans it makes sense to have it be a mode with the following options: automatic, single, dual. This allows us to have a way to automatically determine if dual page mode should be used when the window is large enough. https://bugzilla.gnome.org/show_bug.cgi?id=689468 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=42f6d4b
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index 02219641..c93b0f90 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -168,10 +168,10 @@ struct _EvView {
gboolean loading;
gboolean continuous;
- gboolean dual_page;
gboolean dual_even_left;
gboolean fullscreen;
EvSizingMode sizing_mode;
+ EvPageLayout page_layout;
GtkWidget *loading_window;
guint loading_timeout;