diff options
author | raveit65 <[email protected]> | 2017-09-05 14:27:50 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-09-05 14:27:50 +0200 |
commit | f632424397795ebbc2bb0e342aa1dcb077c8a47a (patch) | |
tree | 6edb51e069eb16e55dfbd54229dfaedf8033f065 | |
parent | 4e2981ae46261f3d4d715997bbc8dd4ee5dd5194 (diff) | |
download | atril-f632424397795ebbc2bb0e342aa1dcb077c8a47a.tar.bz2 atril-f632424397795ebbc2bb0e342aa1dcb077c8a47a.tar.xz |
shell: disable ViewDualOddLeft in menus for epubs
Dual mode isn't implemented for epubs
-rw-r--r-- | shell/ev-window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index 93b10a34..871c5a18 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -581,6 +581,12 @@ ev_window_update_actions (EvWindow *ev_window) ev_window_set_action_sensitive (ev_window, "ViewDualOddLeft", dual_mode); } +#if ENABLE_EPUB + else if (webview ) { + ev_window_set_action_sensitive (ev_window, "ViewDualOddLeft", + !dual_mode); + } +#endif /* Go menu */ if (has_pages) { ev_window_set_action_sensitive (ev_window, "GoPreviousPage", page > 0); |