diff options
author | raveit65 <[email protected]> | 2016-06-24 18:46:52 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-29 16:23:03 +0200 |
commit | 6bf223cbbfcfa6b42c019a45fb96c1236b88cdc5 (patch) | |
tree | f3b19d6e590514798024baf2984a3c8ea06fc15a /data | |
parent | 71b018f93891bcb414c72d956b4b5601045c5937 (diff) | |
download | atril-6bf223cbbfcfa6b42c019a45fb96c1236b88cdc5.tar.bz2 atril-6bf223cbbfcfa6b42c019a45fb96c1236b88cdc5.tar.xz |
libview: Add an option to show odd pages on the left in dual mode
Added a dual_even_left flag to EvView. When this flag is false, odd
pages appear left instead of even ones.
All the logic has been added to get_dual_even_left(). The patch is a bit
more involved because build_height_to_page() was computing
dual_even_left directly instead of calling get_dual_even_left(). Rather
than implementing the logic twice, we replaced its EvDocument argument
by its enclosing EvView in order to be able to call get_dual_even_left()
directly. This function was renamed into
ev_view_build_height_to_page_cache() to reflect it is now a view method.
See http://bugzilla.gnome.org/show_bug.cgi?id=444587
taken from:
https://git.gnome.org/browse/evince/commit/?id=f065e36
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions