[gnome-games] ui: Hide menubar when app menu disabled
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] ui: Hide menubar when app menu disabled
- Date: Thu, 2 Feb 2017 09:01:09 +0000 (UTC)
commit fa1aa5afaa3d395f89402f7bcd9cf6d0a6133744
Author: theawless <theawless gmail com>
Date: Thu Feb 2 01:55:42 2017 +0530
ui: Hide menubar when app menu disabled
Set 'show-menubar' false in code because xml property isn't working.
https://bugzilla.gnome.org/show_bug.cgi?id=771683
src/ui/application-window.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/application-window.vala b/src/ui/application-window.vala
index a8d1a12..8a13089 100644
--- a/src/ui/application-window.vala
+++ b/src/ui/application-window.vala
@@ -106,6 +106,8 @@ private class Games.ApplicationWindow : Gtk.ApplicationWindow {
focus_out_timeout_id = -1;
inhibit_cookie = 0;
inhibit_flags = 0;
+
+ set_show_menubar (false); // Essential, see bug #771683
}
public void run_game (Game game) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]