[evince/wip/gmenu] ev-window: don't show menu bar in presentation mode
- From: Lars Uebernickel <larsu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gmenu] ev-window: don't show menu bar in presentation mode
- Date: Mon, 3 Mar 2014 11:15:57 +0000 (UTC)
commit f2ff31d903e30c22d1189101cedec30dce966971
Author: Lars Uebernickel <lars uebernickel canonical com>
Date: Mon Mar 3 12:14:02 2014 +0100
ev-window: don't show menu bar in presentation mode
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 6424f84..b20accc 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -589,6 +589,8 @@ update_chrome_visibility (EvWindow *window)
set_widget_visibility (priv->toolbar, toolbar);
set_widget_visibility (priv->find_bar, findbar);
set_widget_visibility (priv->sidebar, sidebar);
+
+ gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (window), !presentation);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]