[evince] Hide search bar when entering presentation mode
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Hide search bar when entering presentation mode
- Date: Sun, 15 Jan 2017 08:13:12 +0000 (UTC)
commit a4b6f7ca00e08f84678e518c904f982b41fe7614
Author: Simon Nagl <simonnagl aim com>
Date: Fri Dec 2 22:46:53 2016 +0100
Hide search bar when entering presentation mode
Before fix:
1. Press Ctrl+f to display search bar
2. Press F5 to enter presentation mode
-> Search bar is still there but without feedback on the document.
https://bugzilla.gnome.org/show_bug.cgi?id=645976 descides:
"Search is not supposed to work in presentation mode, so the find bar shoudn't be displayed."
This commit hides the search bar before entering presentation mode.
https://bugzilla.gnome.org//show_bug.cgi?id=775536
shell/ev-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 162b63e..06dcf25 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -4271,6 +4271,8 @@ ev_window_run_presentation (EvWindow *window)
if (EV_WINDOW_IS_PRESENTATION (window))
return;
+ ev_window_close_find_bar (window);
+
if (ev_document_model_get_fullscreen (window->priv->model)) {
ev_window_stop_fullscreen (window, FALSE);
fullscreen_window = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]