[shotwell] Do not show menubar on fullscreen
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Do not show menubar on fullscreen
- Date: Sun, 20 Nov 2016 20:13:22 +0000 (UTC)
commit 9ae5339a193c8a14cc81d77867e9bd02dde038b0
Author: Jens Georg <mail jensge org>
Date: Sun Nov 20 21:11:29 2016 +0100
Do not show menubar on fullscreen
Signed-off-by: Jens Georg <mail jensge org>
src/AppWindow.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/AppWindow.vala b/src/AppWindow.vala
index e7902c7..41751e8 100644
--- a/src/AppWindow.vala
+++ b/src/AppWindow.vala
@@ -24,6 +24,8 @@ public class FullscreenWindow : PageWindow {
};
public FullscreenWindow(Page page) {
+ base ();
+
set_current_page(page);
AppWindow.get_instance().add_action_entries (entries, this);
@@ -92,6 +94,9 @@ public class FullscreenWindow : PageWindow {
// Toolbar steals keyboard focus from page, put it back again
page.grab_focus ();
+
+ // Do not show menubar in fullscreen
+ set_show_menubar (false);
}
public void disable_toolbar_dismissal() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]