[evince] ev-window: Show toolbar on select page activation in fullscreen
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] ev-window: Show toolbar on select page activation in fullscreen
- Date: Thu, 9 Aug 2018 16:01:22 +0000 (UTC)
commit f31b38d96dff393429443e292b0e3466c3c07869
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Tue Aug 7 23:23:31 2018 -0400
ev-window: Show toolbar on select page activation in fullscreen
In fullscreen mode the toolbar is hidden after a timeout, and it
is shown when the pointer enters to the top area. However, the user
can also use ia shortcut to get access to some widgets, like selecting
the page (go to page).
Fixes #784
shell/ev-window.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 2147452b..e909e139 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -387,6 +387,7 @@ static void ev_window_destroy_recent_view (EvWindow *ev_wi
static void recent_view_item_activated_cb (EvRecentView *recent_view,
const char *uri,
EvWindow *ev_window);
+static void ev_window_fullscreen_show_toolbar (EvWindow *ev_window);
static gchar *nautilus_sendto = NULL;
@@ -659,6 +660,9 @@ update_chrome_visibility (EvWindow *window)
set_widget_visibility (priv->toolbar, toolbar);
set_widget_visibility (priv->sidebar, sidebar);
+
+ if (toolbar && ev_document_model_get_fullscreen (window->priv->model))
+ ev_window_fullscreen_show_toolbar (window);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]