[gnome-games/gnome-3-36] display-header-bar: Hide menu and input switcher by default
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-3-36] display-header-bar: Hide menu and input switcher by default
- Date: Fri, 6 Mar 2020 20:12:53 +0000 (UTC)
commit 3792b816ab385f2aacd2280748d6918db5fc8da5
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Mar 2 14:06:16 2020 +0500
display-header-bar: Hide menu and input switcher by default
When starting an unsupported game right away, the runner changes from null
to null, so the property setter isn't called, and secondary menu and input
switcher are visible. Hide them by default to prevent that.
data/ui/display-header-bar.ui | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/display-header-bar.ui b/data/ui/display-header-bar.ui
index 003ce9ea..1e50dd2a 100644
--- a/data/ui/display-header-bar.ui
+++ b/data/ui/display-header-bar.ui
@@ -67,7 +67,7 @@
</child>
<child>
<object class="GtkMenuButton" id="secondary_menu_button">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="valign">center</property>
<property name="can-focus">False</property>
<property name="menu-model">secondary_menu</property>
@@ -123,7 +123,7 @@
</child>
<child>
<object class="GamesInputModeSwitcher" id="input_mode_switcher">
- <property name="visible">True</property>
+ <property name="visible">False</property>
</object>
<packing>
<property name="pack-type">end</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]