[gnome-games/wip/exalm/gtk4: 46/47] ui: Don't specify visible when it's true



commit 48e3c5f26dc62b816aced8e539c6042c234b1697
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sat Aug 4 09:19:20 2018 +0500

    ui: Don't specify visible when it's true
    
    It's true by default in GTK4, so it can be dropped in most cases.

 data/ui/application-window.ui              |  6 ------
 data/ui/checkmark-item.ui                  |  2 --
 data/ui/collection-box.ui                  | 16 +---------------
 data/ui/collection-header-bar.ui           | 15 +--------------
 data/ui/collection-icon-view.ui            |  3 ---
 data/ui/developer-list-item.ui             |  2 --
 data/ui/display-box.ui                     |  9 +--------
 data/ui/display-header-bar.ui              |  6 +-----
 data/ui/dummy-display.ui                   |  6 ------
 data/ui/empty-collection.ui                |  5 -----
 data/ui/error-display.ui                   |  5 -----
 data/ui/error-info-bar.ui                  |  2 --
 data/ui/fullscreen-box.ui                  |  3 ---
 data/ui/game-icon-view.ui                  |  7 +------
 data/ui/gamepad-mapper.ui                  |  5 +----
 data/ui/gamepad-tester.ui                  |  5 +----
 data/ui/input-mode-switcher.ui             |  2 --
 data/ui/keyboard-mapper.ui                 |  5 +----
 data/ui/keyboard-tester.ui                 |  5 +----
 data/ui/media-selector.ui                  |  2 --
 data/ui/platform-list-item.ui              |  2 --
 data/ui/preferences-page-controllers.ui    |  7 -------
 data/ui/preferences-page-plugins-item.ui   |  3 ---
 data/ui/preferences-page-plugins.ui        |  3 ---
 data/ui/preferences-page-video.ui          |  4 ----
 data/ui/preferences-page.ui                |  5 -----
 data/ui/preferences-sidebar-item.ui        |  2 --
 data/ui/preferences-sidebar.ui             |  3 ---
 data/ui/preferences-subpage-gamepad.ui     | 12 ------------
 data/ui/preferences-subpage-keyboard.ui    | 12 ------------
 data/ui/preferences-window.ui              | 24 +++---------------------
 data/ui/quit-dialog.ui                     |  2 --
 data/ui/remote-display.ui                  |  6 ------
 data/ui/reset-controller-mapping-dialog.ui |  2 --
 data/ui/resume-dialog.ui                   |  2 --
 data/ui/resume-failed-dialog.ui            |  2 --
 data/ui/search-bar.ui                      |  3 ---
 data/ui/shortcuts-window.ui                | 20 --------------------
 data/ui/sidebar-view.ui                    |  4 ----
 src/ui/collection-icon-view.vala           |  3 ---
 src/ui/display-box.vala                    |  1 -
 41 files changed, 12 insertions(+), 221 deletions(-)
---
diff --git a/data/ui/application-window.ui b/data/ui/application-window.ui
index c3daf549..2a5846dc 100644
--- a/data/ui/application-window.ui
+++ b/data/ui/application-window.ui
@@ -22,10 +22,8 @@
     </child>
     <child>
       <object class="GtkStack" id="content_box">
-        <property name="visible">True</property>
         <child>
           <object class="GamesCollectionBox" id="collection_box">
-            <property name="visible">True</property>
             <signal name="game-activated" handler="on_game_activated"/>
           </object>
           <packing>
@@ -34,7 +32,6 @@
         </child>
         <child>
           <object class="GamesDisplayBox" id="display_box">
-            <property name="visible">True</property>
             <signal name="back" handler="on_display_back"/>
           </object>
           <packing>
@@ -45,10 +42,8 @@
     </child>
     <child type="titlebar">
           <object class="GtkStack" id="header_bar">
-            <property name="visible">True</property>
             <child>
               <object class="GamesCollectionHeaderBar" id="collection_header_bar">
-                <property name="visible">True</property>
                 <property name="show-title-buttons">True</property>
               </object>
               <packing>
@@ -57,7 +52,6 @@
             </child>
             <child>
               <object class="GamesDisplayHeaderBar" id="display_header_bar">
-                <property name="visible">True</property>
                 <property name="show-title-buttons">True</property>
                 <signal name="back" handler="on_display_back"/>
               </object>
diff --git a/data/ui/checkmark-item.ui b/data/ui/checkmark-item.ui
index 027c97eb..0b286027 100644
--- a/data/ui/checkmark-item.ui
+++ b/data/ui/checkmark-item.ui
@@ -3,10 +3,8 @@
   <template class="GamesCheckmarkItem" parent="GtkBox">
     <property name="margin">6</property>
     <property name="spacing">12</property>
-    <property name="visible">true</property>
     <child>
       <object class="GtkLabel" id="title_label">
-        <property name="visible">true</property>
         <property name="vexpand">true</property>
         <property name="wrap">true</property>
       </object>
diff --git a/data/ui/collection-box.ui b/data/ui/collection-box.ui
index 807d0997..19513a7f 100644
--- a/data/ui/collection-box.ui
+++ b/data/ui/collection-box.ui
@@ -2,37 +2,30 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesCollectionBox" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="orientation">vertical</property>
     <property name="hexpand">True</property>
     <property name="vexpand">True</property>
     <child>
       <object class="GamesSearchBar" id="search_bar">
-        <property name="visible">True</property>
         <signal name="notify::text" handler="on_search_text_notify"/>
       </object>
     </child>
     <child>
       <object class="GtkOverlay">
-        <property name="visible">True</property>
         <property name="vexpand">True</property>
         <child>
           <object class="GtkStack" id="viewstack">
-            <property name="visible">True</property>
             <property name="visible-child">collection_view</property>
             <property name="transition-type">crossfade</property>
             <signal name="notify::visible-child" handler="on_visible_child_changed"/>
             <child>
-              <object class="GamesEmptyCollection" id="empty_collection">
-                <property name="visible">True</property>
-              </object>
+              <object class="GamesEmptyCollection" id="empty_collection" />
               <packing>
                 <property name="name">empty</property>
               </packing>
             </child>
             <child>
               <object class="GamesCollectionIconView" id="collection_view">
-                <property name="visible">True</property>
                 <signal name="game-activated" handler="on_game_activated"/>
               </object>
               <packing>
@@ -42,7 +35,6 @@
             </child>
             <child>
               <object class="GamesDevelopersView" id="developer_view">
-                <property name="visible">True</property>
                 <signal name="game-activated" handler="on_game_activated"/>
               </object>
               <packing>
@@ -52,7 +44,6 @@
             </child>
             <child>
               <object class="GamesPlatformsView" id="platform_view">
-                <property name="visible">True</property>
                 <signal name="game-activated" handler="on_game_activated"/>
               </object>
               <packing>
@@ -64,28 +55,23 @@
         </child>
         <child type="overlay">
           <object class="GtkRevealer" id="loading_notification_revealer">
-            <property name="visible">True</property>
             <property name="halign">center</property>
             <property name="valign">start</property>
             <child>
               <object class="GtkBox">
-                <property name="visible">True</property>
                 <property name="spacing">18</property>
                 <child>
                   <object class="GtkSpinner">
-                    <property name="visible">True</property>
                     <property name="active">True</property>
                   </object>
                 </child>
                 <child>
                   <object class="GtkLabel">
-                    <property name="visible">True</property>
                     <property name="label" translatable="yes">Loading</property>
                   </object>
                 </child>
                 <child>
                   <object class="GtkButton">
-                    <property name="visible">True</property>
                     <property name="can-focus">True</property>
                     <property name="icon-name">window-close-symbolic</property>
                     <signal name="clicked" handler="on_loading_notification_closed"/>
diff --git a/data/ui/collection-header-bar.ui b/data/ui/collection-header-bar.ui
index 0f3b3030..8367d415 100644
--- a/data/ui/collection-header-bar.ui
+++ b/data/ui/collection-header-bar.ui
@@ -2,10 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesCollectionHeaderBar" parent="GtkHeaderBar">
-    <property name="visible">True</property>
     <child>
       <object class="GtkButton" id="add_game">
-        <property name="visible">True</property>
         <property name="valign">center</property>
         <property name="use-underline">True</property>
         <property name="action-name">app.add-game-files</property>
@@ -27,7 +25,6 @@
         <property name="tooltip-text" translatable="yes">Menu</property>
         <property name="use-underline">True</property>
         <property name="valign">center</property>
-        <property name="visible">True</property>
         <property name="icon-name">open-menu-symbolic</property>
       </object>
       <packing>
@@ -36,16 +33,12 @@
     </child>
     <child type="title">
       <object class="GtkStack" id="title_stack">
-        <property name="visible">True</property>
         <property name="transition-type">crossfade</property>
         <child>
-          <object class="GtkStackSwitcher" id="view_switcher">
-            <property name="visible">True</property>
-          </object>
+          <object class="GtkStackSwitcher" id="view_switcher" />
         </child>
         <child>
           <object class="GtkLabel" id="empty_title">
-            <property name="visible">True</property>
             <property name="label" translatable="yes">Games</property>
             <style>
               <class name="title"/>
@@ -56,7 +49,6 @@
     </child>
     <child>
       <object class="GtkToggleButton" id="search">
-        <property name="visible">True</property>
         <property name="valign">center</property>
         <property name="use-underline">True</property>
         <property name="icon-name">edit-find-symbolic</property>
@@ -77,13 +69,11 @@
       <object class="GtkBox">
         <property name="margin">12</property>
         <property name="orientation">vertical</property>
-        <property name="visible">True</property>
         <child>
           <object class="GtkModelButton">
             <property name="can-focus">True</property>
             <property name="text" translatable="yes">Preferences</property>
             <property name="action-name">app.preferences</property>
-            <property name="visible">True</property>
           </object>
         </child>
         <child>
@@ -91,7 +81,6 @@
             <property name="can-focus">True</property>
             <property name="text" translatable="yes">Keyboard Shortcuts</property>
             <property name="action-name">win.show-help-overlay</property>
-            <property name="visible">True</property>
           </object>
         </child>
         <child>
@@ -99,7 +88,6 @@
             <property name="can-focus">True</property>
             <property name="text" translatable="yes">Help</property>
             <property name="action-name">app.help</property>
-            <property name="visible">True</property>
           </object>
         </child>
         <child>
@@ -107,7 +95,6 @@
             <property name="can-focus">True</property>
             <property name="text" translatable="yes">About Games</property>
             <property name="action-name">app.about</property>
-            <property name="visible">True</property>
           </object>
         </child>
       </object>
diff --git a/data/ui/collection-icon-view.ui b/data/ui/collection-icon-view.ui
index cdad1595..6fcf8f51 100644
--- a/data/ui/collection-icon-view.ui
+++ b/data/ui/collection-icon-view.ui
@@ -2,13 +2,11 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesCollectionIconView" parent="GtkBin">
-    <property name="visible">True</property>
     <signal name="map" after="yes" handler="on_map"/>
     <signal name="unmap" after="no" handler="on_unmap"/>
     <signal name="size-allocate" after="no" handler="on_size_allocate"/>
     <child>
       <object class="GtkScrolledWindow" id="scrolled_window">
-        <property name="visible">True</property>
         <property name="can-focus">True</property>
         <property name="hscrollbar-policy">never</property>
         <style>
@@ -16,7 +14,6 @@
         </style>
         <child>
           <object class="GtkFlowBox" id="flow_box">
-            <property name="visible">True</property>
             <property name="can-focus">True</property>
             <property name="halign">center</property>
             <property name="valign">start</property>
diff --git a/data/ui/developer-list-item.ui b/data/ui/developer-list-item.ui
index 74b94a79..fb07ca7c 100644
--- a/data/ui/developer-list-item.ui
+++ b/data/ui/developer-list-item.ui
@@ -1,10 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesDeveloperListItem" parent="GtkListBoxRow">
-    <property name="visible">true</property>
     <child>
       <object class="GtkLabel" id="label">
-        <property name="visible">true</property>
         <property name="margin">6</property>
         <property name="wrap">true</property>
         <property name="xalign">0</property>
diff --git a/data/ui/display-box.ui b/data/ui/display-box.ui
index 0e4f0754..47827150 100644
--- a/data/ui/display-box.ui
+++ b/data/ui/display-box.ui
@@ -2,31 +2,24 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesDisplayBox" parent="GtkBin">
-    <property name="visible">True</property>
     <child>
       <object class="GamesFullscreenBox" id="fullscreen_box">
-        <property name="visible">True</property>
         <child type="titlebar">
           <object class="GamesDisplayHeaderBar" id="fullscreen_header_bar">
-            <property name="visible">True</property>
             <property name="show-title-buttons">False</property>
             <signal name="back" handler="on_fullscreen_header_bar_back"/>
           </object>
         </child>
         <child>
           <object class="GtkStack" id="stack">
-            <property name="visible">True</property>
             <child>
-              <object class="GamesErrorDisplay" id="error_display">
-                <property name="visible">True</property>
-              </object>
+              <object class="GamesErrorDisplay" id="error_display"/>
               <packing>
                 <property name="name">error</property>
               </packing>
             </child>
             <child>
               <object class="GtkFrame" id="display_bin">
-                <property name="visible">True</property>
                 <property name="shadow-type">none</property>
               </object>
               <packing>
diff --git a/data/ui/display-header-bar.ui b/data/ui/display-header-bar.ui
index 279c1ebe..1840f48a 100644
--- a/data/ui/display-header-bar.ui
+++ b/data/ui/display-header-bar.ui
@@ -2,13 +2,11 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesDisplayHeaderBar" parent="GtkHeaderBar">
-    <property name="visible">True</property>
     <property name="title" translatable="yes">Games</property>
     <signal name="notify::is-fullscreen" handler="on_fullscreen_changed"/>
     <signal name="notify::can-fullscreen" handler="on_fullscreen_changed"/>
     <child>
       <object class="GtkButton" id="back">
-        <property name="visible">True</property>
         <property name="valign">center</property>
         <property name="use-underline">True</property>
         <property name="icon-name">go-previous-symbolic</property>
@@ -65,9 +63,7 @@
       </packing>
     </child>
     <child>
-      <object class="GamesInputModeSwitcher" id="input_mode_switcher">
-        <property name="visible">True</property>
-      </object>
+      <object class="GamesInputModeSwitcher" id="input_mode_switcher"/>
       <packing>
         <property name="pack-type">end</property>
       </packing>
diff --git a/data/ui/dummy-display.ui b/data/ui/dummy-display.ui
index 32d367b0..2b113fc0 100644
--- a/data/ui/dummy-display.ui
+++ b/data/ui/dummy-display.ui
@@ -2,7 +2,6 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesDummyDisplay" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="hexpand">True</property>
     <property name="vexpand">True</property>
     <property name="halign">center</property>
@@ -10,14 +9,12 @@
 
     <child>
       <object class="GtkGrid" id="grid">
-        <property name="visible">True</property>
         <property name="orientation">vertical</property>
         <property name="halign">center</property>
         <property name="valign">center</property>
 
         <child>
           <object class="GtkImage" id="image">
-            <property name="visible">True</property>
             <property name="icon-name">computer-fail-symbolic</property>
             <property name="pixel-size">256</property>
             <property name="halign">center</property>
@@ -28,7 +25,6 @@
 
         <child>
           <object class="GtkLabel" id="no_boxes_found_label">
-            <property name="visible">True</property>
             <property name="use-markup">True</property>
             <property name="halign">center</property>
             <property name="vexpand">True</property>
@@ -44,7 +40,6 @@
 
         <child>
           <object class="GtkLabel" id="definition_label">
-            <property name="visible">True</property>
             <property name="use-markup">True</property>
             <property name="halign">center</property>
             <property name="vexpand">True</property>
@@ -57,7 +52,6 @@
 
         <child>
           <object class="GtkLabel" id="instructions_label">
-            <property name="visible">True</property>
             <property name="use-markup">True</property>
             <property name="halign">center</property>
             <property name="vexpand">True</property>
diff --git a/data/ui/empty-collection.ui b/data/ui/empty-collection.ui
index 77b16f44..128f4669 100644
--- a/data/ui/empty-collection.ui
+++ b/data/ui/empty-collection.ui
@@ -2,13 +2,11 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesEmptyCollection" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="orientation">vertical</property>
     <property name="halign">center</property>
     <property name="valign">center</property>
     <child>
       <object class="GtkImage" id="icon">
-        <property name="visible">True</property>
         <property name="valign">center</property>
         <property name="pixel-size">128</property>
         <property name="icon-size">0</property>
@@ -20,11 +18,9 @@
     </child>
     <child>
       <object class="GtkBox" id="box">
-        <property name="visible">True</property>
         <property name="orientation">vertical</property>
         <child>
           <object class="GtkLabel" id="label">
-            <property name="visible">True</property>
             <property name="opacity">0.5</property>
             <property name="label" translatable="yes">No games found</property>
             <property name="halign">center</property>
@@ -38,7 +34,6 @@
         </child>
         <child>
           <object class="GtkLabel" id="empty-state-label">
-            <property name="visible">True</property>
             <property name="opacity">0.5</property>
             <property name="label" translatable="yes">Install games or add directories containing games to 
your search sources.</property>
             <property name="justify">left</property>
diff --git a/data/ui/error-display.ui b/data/ui/error-display.ui
index cb5d605f..43f4e629 100644
--- a/data/ui/error-display.ui
+++ b/data/ui/error-display.ui
@@ -2,13 +2,11 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesErrorDisplay" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="orientation">vertical</property>
     <property name="halign">center</property>
     <property name="valign">center</property>
     <child>
       <object class="GtkImage" id="icon">
-        <property name="visible">True</property>
         <property name="valign">center</property>
         <property name="pixel-size">128</property>
         <property name="icon-name">face-uncertain-symbolic</property>
@@ -21,12 +19,10 @@
     </child>
     <child>
       <object class="GtkBox" id="box">
-        <property name="visible">True</property>
         <property name="orientation">vertical</property>
         <property name="spacing">12</property>
         <child>
           <object class="GtkLabel" id="primary_label">
-            <property name="visible">True</property>
             <property name="opacity">0.5</property>
             <property name="halign">center</property>
             <property name="valign">center</property>
@@ -35,7 +31,6 @@
         </child>
         <child>
           <object class="GtkLabel" id="secondary_label">
-            <property name="visible">True</property>
             <property name="halign">center</property>
             <property name="valign">center</property>
             <property name="use-markup">True</property>
diff --git a/data/ui/error-info-bar.ui b/data/ui/error-info-bar.ui
index 78e44f09..205a5c9d 100644
--- a/data/ui/error-info-bar.ui
+++ b/data/ui/error-info-bar.ui
@@ -2,7 +2,6 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesErrorInfoBar" parent="GtkInfoBar">
-    <property name="visible">True</property>
     <property name="halign">center</property>
     <property name="valign">start</property>
     <property name="show-close-button">True</property>
@@ -11,7 +10,6 @@
       <object class="GtkBox" id="content_area">
         <child>
           <object class="GtkLabel" id="label">
-            <property name="visible">True</property>
             <property name="wrap">True</property>
             <property name="wrap-mode">pango-wrap-word-char</property>
           </object>
diff --git a/data/ui/fullscreen-box.ui b/data/ui/fullscreen-box.ui
index baa8b2c8..93be2dc4 100644
--- a/data/ui/fullscreen-box.ui
+++ b/data/ui/fullscreen-box.ui
@@ -2,7 +2,6 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesFullscreenBox" parent="GtkBin">
-    <property name="visible">True</property>
     <signal name="notify::is-fullscreen" handler="on_fullscreen_changed"/>
     <child>
       <object class="GtkEventControllerMotion">
@@ -11,10 +10,8 @@
     </child>
     <child>
       <object class="GtkOverlay" id="overlay">
-        <property name="visible">True</property>
         <child type="overlay">
           <object class="GtkRevealer" id="header_bar_revealer">
-            <property name="visible">True</property>
             <property name="valign">start</property>
             <property name="hexpand">True</property>
             <property name="transition-type">slide-down</property>
diff --git a/data/ui/game-icon-view.ui b/data/ui/game-icon-view.ui
index 4b9b0650..0e3b72d5 100644
--- a/data/ui/game-icon-view.ui
+++ b/data/ui/game-icon-view.ui
@@ -2,16 +2,12 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesGameIconView" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="orientation">vertical</property>
     <child>
-      <object class="GamesGameThumbnail" id="thumbnail">
-        <property name="visible">True</property>
-      </object>
+      <object class="GamesGameThumbnail" id="thumbnail"/>
     </child>
     <child>
       <object class="GtkLabel" id="title">
-        <property name="visible">True</property>
         <property name="ellipsize">middle</property>
         <property name="justify">center</property>
         <property name="lines">2</property>
@@ -22,7 +18,6 @@
     </child>
     <child>
       <object class="GtkLabel" id="subtitle">
-        <property name="visible">True</property>
         <property name="ellipsize">middle</property>
         <property name="justify">center</property>
         <property name="lines">1</property>
diff --git a/data/ui/gamepad-mapper.ui b/data/ui/gamepad-mapper.ui
index 86e8548d..7f592124 100644
--- a/data/ui/gamepad-mapper.ui
+++ b/data/ui/gamepad-mapper.ui
@@ -1,11 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesGamepadMapper" parent="GtkBin">
-    <property name="visible">True</property>
     <child>
-      <object class="GamesGamepadView" id="gamepad_view">
-        <property name="visible">True</property>
-      </object>
+      <object class="GamesGamepadView" id="gamepad_view"/>
     </child>
   </template>
 </interface>
diff --git a/data/ui/gamepad-tester.ui b/data/ui/gamepad-tester.ui
index 17a90137..24d6a1bb 100644
--- a/data/ui/gamepad-tester.ui
+++ b/data/ui/gamepad-tester.ui
@@ -1,11 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesGamepadTester" parent="GtkBin">
-    <property name="visible">True</property>
     <child>
-      <object class="GamesGamepadView" id="gamepad_view">
-        <property name="visible">True</property>
-      </object>
+      <object class="GamesGamepadView" id="gamepad_view"/>
     </child>
   </template>
 </interface>
diff --git a/data/ui/input-mode-switcher.ui b/data/ui/input-mode-switcher.ui
index 8c452a02..17bccc0e 100644
--- a/data/ui/input-mode-switcher.ui
+++ b/data/ui/input-mode-switcher.ui
@@ -7,7 +7,6 @@
     </style>
     <child>
       <object class="GtkRadioButton" id="gamepad_mode">
-        <property name="visible">True</property>
         <property name="draw-indicator">False</property>
         <property name="can-focus">False</property>
         <property name="icon-name">input-gaming-symbolic</property>
@@ -21,7 +20,6 @@
     </child>
     <child>
       <object class="GtkRadioButton" id="keyboard_mode">
-        <property name="visible">True</property>
         <property name="draw-indicator">False</property>
         <property name="can-focus">False</property>
         <property name="group">gamepad_mode</property>
diff --git a/data/ui/keyboard-mapper.ui b/data/ui/keyboard-mapper.ui
index c9fced3b..e7ff0257 100644
--- a/data/ui/keyboard-mapper.ui
+++ b/data/ui/keyboard-mapper.ui
@@ -1,11 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesKeyboardMapper" parent="GtkBin">
-    <property name="visible">True</property>
     <child>
-      <object class="GamesGamepadView" id="gamepad_view">
-        <property name="visible">True</property>
-      </object>
+      <object class="GamesGamepadView" id="gamepad_view"/>
     </child>
   </template>
 </interface>
diff --git a/data/ui/keyboard-tester.ui b/data/ui/keyboard-tester.ui
index 4a1d68ee..2a52aa9d 100644
--- a/data/ui/keyboard-tester.ui
+++ b/data/ui/keyboard-tester.ui
@@ -1,11 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesKeyboardTester" parent="GtkBin">
-    <property name="visible">True</property>
     <child>
-      <object class="GamesGamepadView" id="gamepad_view">
-        <property name="visible">True</property>
-      </object>
+      <object class="GamesGamepadView" id="gamepad_view"/>
     </child>
   </template>
 </interface>
diff --git a/data/ui/media-selector.ui b/data/ui/media-selector.ui
index 57553bff..c367c30b 100644
--- a/data/ui/media-selector.ui
+++ b/data/ui/media-selector.ui
@@ -4,11 +4,9 @@
   <template class="GamesMediaSelector" parent="GtkPopover">
     <child>
       <object class="GtkFrame">
-        <property name="visible">True</property>
         <property name="shadow-type">none</property>
         <child>
           <object class="GtkListBox" id="list_box">
-            <property name="visible">True</property>
             <property name="margin-top">6</property>
             <property name="margin-bottom">6</property>
             <property name="margin-start">6</property>
diff --git a/data/ui/platform-list-item.ui b/data/ui/platform-list-item.ui
index eab73693..fc2b4dc8 100644
--- a/data/ui/platform-list-item.ui
+++ b/data/ui/platform-list-item.ui
@@ -1,10 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesPlatformListItem" parent="GtkListBoxRow">
-    <property name="visible">true</property>
     <child>
       <object class="GtkLabel" id="label">
-        <property name="visible">true</property>
         <property name="margin">6</property>
         <property name="wrap">true</property>
         <property name="xalign">0</property>
diff --git a/data/ui/preferences-page-controllers.ui b/data/ui/preferences-page-controllers.ui
index e4dc3d99..6acd9a5f 100644
--- a/data/ui/preferences-page-controllers.ui
+++ b/data/ui/preferences-page-controllers.ui
@@ -1,10 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesPreferencesPageControllers" parent="GamesPreferencesPage">
-    <property name="visible">True</property>
     <child>
       <object class="GtkLabel" id="gamepads_label">
-        <property name="visible">True</property>
         <property name="halign">start</property>
         <property name="label" translatable="yes">Gamepads</property>
         <attributes>
@@ -14,11 +12,9 @@
     </child>
     <child>
       <object class="GtkFrame" id="gamepads_frame">
-        <property name="visible">True</property>
         <property name="shadow-type">in</property>
         <child>
           <object class="GtkListBox" id="gamepads_list_box">
-            <property name="visible">True</property>
             <property name="selection-mode">none</property>
             <signal name="row-activated" handler="gamepads_list_box_row_activated"/>
           </object>
@@ -27,7 +23,6 @@
     </child>
     <child>
       <object class="GtkLabel">
-        <property name="visible">True</property>
         <property name="halign">start</property>
         <property name="label" translatable="yes">Keyboard</property>
         <attributes>
@@ -37,11 +32,9 @@
     </child>
     <child>
       <object class="GtkFrame">
-        <property name="visible">True</property>
         <property name="shadow-type">in</property>
         <child>
           <object class="GtkListBox" id="keyboard_list_box">
-            <property name="visible">True</property>
             <property name="selection-mode">none</property>
             <signal name="row-activated" handler="keyboard_list_box_row_activated"/>
           </object>
diff --git a/data/ui/preferences-page-plugins-item.ui b/data/ui/preferences-page-plugins-item.ui
index c71c4005..c3d7bf33 100644
--- a/data/ui/preferences-page-plugins-item.ui
+++ b/data/ui/preferences-page-plugins-item.ui
@@ -2,18 +2,15 @@
 <interface>
   <!-- interface-requires gtk+ 3.16 -->
   <template class="GamesPreferencesPagePluginsItem" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="orientation">vertical</property>
     <property name="margin">6</property>
     <child>
       <object class="GtkLabel" id="plugin_name">
-        <property name="visible">true</property>
         <property name="xalign">0</property>
       </object>
     </child>
     <child>
       <object class="GtkLabel" id="plugin_description">
-        <property name="visible">true</property>
         <property name="xalign">0</property>
         <property name="wrap">true</property>
         <style>
diff --git a/data/ui/preferences-page-plugins.ui b/data/ui/preferences-page-plugins.ui
index ff16fd4b..fe959d08 100644
--- a/data/ui/preferences-page-plugins.ui
+++ b/data/ui/preferences-page-plugins.ui
@@ -2,15 +2,12 @@
 <interface>
   <!-- interface-requires gtk+ 3.16 -->
   <template class="GamesPreferencesPagePlugins" parent="GamesPreferencesPage">
-    <property name="visible">True</property>
     <child>
       <object class="GtkFrame">
-        <property name="visible">true</property>
         <property name="shadow-type">in</property>
         <child>
           <object class="GtkListBox" id="list_box">
             <property name="selection-mode">none</property>
-            <property name="visible">true</property>
           </object>
         </child>
       </object>
diff --git a/data/ui/preferences-page-video.ui b/data/ui/preferences-page-video.ui
index d02e9f00..2fb2f464 100644
--- a/data/ui/preferences-page-video.ui
+++ b/data/ui/preferences-page-video.ui
@@ -1,10 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesPreferencesPageVideo" parent="GamesPreferencesPage">
-    <property name="visible">True</property>
     <child>
       <object class="GtkLabel">
-        <property name="visible">True</property>
         <property name="halign">start</property>
         <property name="label" translatable="yes">Filter</property>
         <attributes>
@@ -14,11 +12,9 @@
     </child>
     <child>
       <object class="GtkFrame">
-        <property name="visible">True</property>
         <property name="shadow-type">in</property>
         <child>
           <object class="GtkListBox" id="filter_list_box">
-            <property name="visible">True</property>
             <property name="selection-mode">none</property>
             <signal name="row-activated" handler="filter_list_box_row_activated"/>
           </object>
diff --git a/data/ui/preferences-page.ui b/data/ui/preferences-page.ui
index 941d9cb6..d3bc01ff 100644
--- a/data/ui/preferences-page.ui
+++ b/data/ui/preferences-page.ui
@@ -1,23 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesPreferencesPage" parent="GtkBin">
-    <property name="visible">True</property>
     <child>
       <object class="GtkScrolledWindow">
-        <property name="visible">True</property>
         <property name="hscrollbar-policy">never</property>
         <child>
           <object class="GtkViewport">
-            <property name="visible">True</property>
             <child>
               <object class="GtkBox">
-                <property name="visible">True</property>
                 <property name="expand">True</property>
                 <property name="width-request">600</property>
                 <property name="halign">center</property>
                 <child>
                   <object class="GtkBox" id="box">
-                    <property name="visible">True</property>
                     <property name="orientation">vertical</property>
                     <property name="hexpand">True</property>
                     <property name="margin">12</property>
diff --git a/data/ui/preferences-sidebar-item.ui b/data/ui/preferences-sidebar-item.ui
index 3339f51b..7f918480 100644
--- a/data/ui/preferences-sidebar-item.ui
+++ b/data/ui/preferences-sidebar-item.ui
@@ -1,10 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesPreferencesSidebarItem" parent="GtkListBoxRow">
-    <property name="visible">true</property>
     <child>
       <object class="GtkLabel" id="label">
-        <property name="visible">true</property>
         <property name="wrap">true</property>
         <property name="xalign">0</property>
       </object>
diff --git a/data/ui/preferences-sidebar.ui b/data/ui/preferences-sidebar.ui
index 8b9790a2..1b02a3cf 100644
--- a/data/ui/preferences-sidebar.ui
+++ b/data/ui/preferences-sidebar.ui
@@ -1,18 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesPreferencesSidebar" parent="GtkBin">
-    <property name="visible">True</property>
     <style>
       <class name="preferences"/>
       <class name="sidebar"/>
     </style>
     <child>
       <object class="GtkScrolledWindow">
-        <property name="visible">True</property>
         <property name="hscrollbar-policy">never</property>
         <child>
           <object class="GtkListBox" id="list">
-            <property name="visible">True</property>
             <property name="margin-top">4</property>
             <property name="margin-bottom">4</property>
             <signal name="row-activated" handler="row_activated"/>
diff --git a/data/ui/preferences-subpage-gamepad.ui b/data/ui/preferences-subpage-gamepad.ui
index d34912ea..ac815ace 100644
--- a/data/ui/preferences-subpage-gamepad.ui
+++ b/data/ui/preferences-subpage-gamepad.ui
@@ -1,23 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesPreferencesSubpageGamepad" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="orientation">vertical</property>
     <child>
       <object class="GtkStack" id="gamepad_view_stack">
-        <property name="visible">True</property>
         <property name="vexpand">True</property>
       </object>
     </child>
     <child>
       <object class="GtkStack" id="action_bar_stack">
-        <property name="visible">True</property>
         <child>
           <object class="GtkActionBar" id="tester_action_bar">
-            <property name="visible">True</property>
             <child>
               <object class="GtkButton" id="reset_button">
-                <property name="visible">True</property>
                 <property name="label" translatable="yes" context="Keyboard configuration factory 
reset">Reset</property>
                 <signal name="clicked" handler="on_reset_clicked"/>
                 <style>
@@ -30,7 +25,6 @@
             </child>
             <child>
               <object class="GtkButton" id="configure_button">
-                <property name="visible">True</property>
                 <property name="label" translatable="yes">Configure</property>
                 <signal name="clicked" handler="on_configure_clicked"/>
                 <style>
@@ -45,10 +39,8 @@
         </child>
         <child>
           <object class="GtkActionBar" id="mapper_action_bar">
-            <property name="visible">True</property>
             <child>
               <object class="GtkButton" id="skip_button">
-                <property name="visible">True</property>
                 <property name="label" translatable="yes">Skip</property>
                 <signal name="clicked" handler="on_skip_clicked"/>
               </object>
@@ -58,7 +50,6 @@
             </child>
             <child type="center">
               <object class="GtkLabel" id="info_message">
-                <property name="visible">True</property>
                 <property name="ellipsize">end</property>
               </object>
             </child>
@@ -68,11 +59,9 @@
     </child>
   </template>
   <object class="GtkHeaderBar" id="header_bar">
-    <property name="visible">True</property>
     <property name="expand">True</property>
     <child>
       <object class="GtkButton" id="back_button">
-        <property name="visible">True</property>
         <property name="icon-name">go-previous-symbolic</property>
         <signal name="clicked" handler="on_back_clicked"/>
         <child internal-child="accessible">
@@ -87,7 +76,6 @@
     </child>
     <child>
       <object class="GtkButton" id="cancel_button">
-        <property name="visible">True</property>
         <property name="label" translatable="yes">Cancel</property>
         <signal name="clicked" handler="on_cancel_clicked"/>
       </object>
diff --git a/data/ui/preferences-subpage-keyboard.ui b/data/ui/preferences-subpage-keyboard.ui
index f35e6a2a..25324a8c 100644
--- a/data/ui/preferences-subpage-keyboard.ui
+++ b/data/ui/preferences-subpage-keyboard.ui
@@ -1,24 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesPreferencesSubpageKeyboard" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="can-focus">True</property>
     <property name="orientation">vertical</property>
     <child>
       <object class="GtkStack" id="gamepad_view_stack">
-        <property name="visible">True</property>
         <property name="vexpand">True</property>
       </object>
     </child>
     <child>
       <object class="GtkStack" id="action_bar_stack">
-        <property name="visible">True</property>
         <child>
           <object class="GtkActionBar" id="tester_action_bar">
-            <property name="visible">True</property>
             <child>
               <object class="GtkButton" id="reset_button">
-                <property name="visible">True</property>
                 <property name="label" translatable="yes" context="Keyboard configuration factory 
reset">Reset</property>
                 <signal name="clicked" handler="on_reset_clicked"/>
                 <style>
@@ -31,7 +26,6 @@
             </child>
             <child>
               <object class="GtkButton" id="configure_button">
-                <property name="visible">True</property>
                 <property name="label" translatable="yes">Configure</property>
                 <signal name="clicked" handler="on_configure_clicked"/>
                 <style>
@@ -46,10 +40,8 @@
         </child>
         <child>
           <object class="GtkActionBar" id="mapper_action_bar">
-            <property name="visible">True</property>
             <child>
               <object class="GtkButton" id="skip_button">
-                <property name="visible">True</property>
                 <property name="label" translatable="yes">Skip</property>
                 <signal name="clicked" handler="on_skip_clicked"/>
               </object>
@@ -59,7 +51,6 @@
             </child>
             <child type="center">
               <object class="GtkLabel" id="info_message">
-                <property name="visible">True</property>
                 <property name="ellipsize">end</property>
               </object>
             </child>
@@ -69,11 +60,9 @@
     </child>
   </template>
   <object class="GtkHeaderBar" id="header_bar">
-    <property name="visible">True</property>
     <property name="expand">True</property>
     <child>
       <object class="GtkButton" id="back_button">
-        <property name="visible">True</property>
         <property name="icon-name">go-previous-symbolic</property>
         <signal name="clicked" handler="on_back_clicked"/>
         <child internal-child="accessible">
@@ -88,7 +77,6 @@
     </child>
     <child>
       <object class="GtkButton" id="cancel_button">
-        <property name="visible">True</property>
         <property name="label" translatable="yes">Cancel</property>
         <signal name="clicked" handler="on_cancel_clicked"/>
       </object>
diff --git a/data/ui/preferences-window.ui b/data/ui/preferences-window.ui
index a0a0fa5b..d0ad4f5b 100644
--- a/data/ui/preferences-window.ui
+++ b/data/ui/preferences-window.ui
@@ -2,26 +2,21 @@
 <interface>
   <!-- interface-requires gtk+ 3.8 -->
   <template class="GamesPreferencesWindow" parent="GtkWindow">
-    <property name="visible">True</property>
     <property name="title" translatable="yes">Preferences</property>
     <property name="default-width">800</property>
     <property name="default-height">500</property>
     <property name="window-position">center-on-parent</property>
     <child type="titlebar">
       <object class="GtkBox" id="titlebar">
-        <property name="visible">True</property>
         <child>
           <object class="GtkStack" id="titlebar_stack">
-            <property name="visible">True</property>
             <property name="transition-type">slide-left-right</property>
             <property name="transition-duration">250</property>
             <child>
               <object class="GtkBox" id="titlebar_box">
-                <property name="visible">True</property>
                 <child>
                   <object class="GtkHeaderBar" id="left_header_bar">
                     <property name="name">left_header_bar</property>
-                    <property name="visible">True</property>
                     <property name="title" translatable="yes">Preferences</property>
                     <property name="show-title-buttons">True</property>
                     <property name="decoration-layout">menu</property>
@@ -30,7 +25,6 @@
                 <child>
                   <object class="GtkSeparator" id="header_separator">
                     <property name="orientation">vertical</property>
-                    <property name="visible">True</property>
                     <style>
                       <class name="sidebar"/>
                     </style>
@@ -39,7 +33,6 @@
                 <child>
                   <object class="GtkHeaderBar" id="right_header_bar">
                     <property name="name">right_header_bar</property>
-                    <property name="visible">True</property>
                     <property name="hexpand">True</property>
                     <property name="show-title-buttons">True</property>
                   </object>
@@ -52,18 +45,15 @@
     </child>
     <child>
       <object class="GtkStack" id="main_stack">
-        <property name="visible">True</property>
         <property name="transition-type">slide-left-right</property>
         <property name="transition-duration">250</property>
         <signal name="notify::transition-running" handler="subpage_transition_finished"/>
         <child>
           <object class="GtkBox" id="content_box">
-            <property name="visible">True</property>
             <child>
               <object class="GamesPreferencesSidebar" id="sidebar">
                 <property name="stack">stack</property>
                 <property name="vexpand">True</property>
-                <property name="visible">True</property>
                 <property name="width-request">150</property>
                 <signal name="row-selected" handler="sidebar_row_selected"/>
               </object>
@@ -71,7 +61,6 @@
             <child>
               <object class="GtkSeparator" id="separator">
                 <property name="orientation">vertical</property>
-                <property name="visible">True</property>
                 <style>
                   <class name="sidebar"/>
                 </style>
@@ -79,24 +68,17 @@
             </child>
             <child>
               <object class="GtkStack" id="stack">
-                <property name="visible">True</property>
                 <property name="expand">True</property>
                 <property name="visible-child">video_page</property>
                 <property name="transition-type">crossfade</property>
                 <child>
-                  <object class="GamesPreferencesPageVideo" id="video_page">
-                    <property name="visible">True</property>
-                  </object>
+                  <object class="GamesPreferencesPageVideo" id="video_page"/>
                 </child>
                 <child>
-                  <object class="GamesPreferencesPageControllers" id="controllers_page">
-                    <property name="visible">True</property>
-                  </object>
+                  <object class="GamesPreferencesPageControllers" id="controllers_page"/>
                 </child>
                 <child>
-                  <object class="GamesPreferencesPagePlugins" id="plugins_page">
-                    <property name="visible">True</property>
-                  </object>
+                  <object class="GamesPreferencesPagePlugins" id="plugins_page"/>
                 </child>
               </object>
             </child>
diff --git a/data/ui/quit-dialog.ui b/data/ui/quit-dialog.ui
index 8c53240e..bdf0a39c 100644
--- a/data/ui/quit-dialog.ui
+++ b/data/ui/quit-dialog.ui
@@ -10,14 +10,12 @@
     <property name="secondary-text" translatable="yes">All unsaved progress will be lost.</property>
     <child type="action">
       <object class="GtkButton" id="button_cancel">
-        <property name="visible">True</property>
         <property name="can-default">True</property>
         <property name="label" translatable="yes">Cancel</property>
       </object>
     </child>
     <child type="action">
       <object class="GtkButton" id="button_quit">
-        <property name="visible">True</property>
         <property name="label" translatable="yes">Quit</property>
         <style>
           <class name="destructive-action"/>
diff --git a/data/ui/remote-display.ui b/data/ui/remote-display.ui
index edd6a18e..b7afad2d 100644
--- a/data/ui/remote-display.ui
+++ b/data/ui/remote-display.ui
@@ -2,7 +2,6 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesRemoteDisplay" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="hexpand">True</property>
     <property name="vexpand">True</property>
     <property name="halign">center</property>
@@ -10,14 +9,12 @@
 
     <child>
       <object class="GtkGrid" id="grid">
-        <property name="visible">True</property>
         <property name="orientation">vertical</property>
         <property name="halign">center</property>
         <property name="valign">center</property>
 
         <child>
           <object class="GtkImage" id="image">
-            <property name="visible">True</property>
             <property name="icon-name">preferences-desktop-remote-desktop-symbolic</property>
             <property name="pixel-size">256</property>
             <property name="halign">center</property>
@@ -28,7 +25,6 @@
 
         <child>
           <object class="GtkLabel" id="no_boxes_found_label">
-            <property name="visible">True</property>
             <property name="use-markup">True</property>
             <property name="halign">center</property>
             <property name="vexpand">True</property>
@@ -44,7 +40,6 @@
 
         <child>
           <object class="GtkLabel" id="definition_label">
-            <property name="visible">True</property>
             <property name="use-markup">True</property>
             <property name="halign">center</property>
             <property name="vexpand">True</property>
@@ -57,7 +52,6 @@
 
         <child>
           <object class="GtkLabel" id="instructions_label">
-            <property name="visible">True</property>
             <property name="use-markup">True</property>
             <property name="halign">center</property>
             <property name="vexpand">True</property>
diff --git a/data/ui/reset-controller-mapping-dialog.ui b/data/ui/reset-controller-mapping-dialog.ui
index dbff4b30..305de1e9 100644
--- a/data/ui/reset-controller-mapping-dialog.ui
+++ b/data/ui/reset-controller-mapping-dialog.ui
@@ -10,14 +10,12 @@
     <property name="secondary-text" translatable="yes">Your mapping will be lost.</property>
     <child type="action">
       <object class="GtkButton" id="button_cancel">
-        <property name="visible">True</property>
         <property name="can-default">True</property>
         <property name="label" translatable="yes">Cancel</property>
       </object>
     </child>
     <child type="action">
       <object class="GtkButton" id="button_reset">
-        <property name="visible">True</property>
         <property name="label" translatable="yes" context="Confirm controller configuration factory 
reset">Reset</property>
         <style>
           <class name="destructive-action"/>
diff --git a/data/ui/resume-dialog.ui b/data/ui/resume-dialog.ui
index 064136f2..8f3a064c 100644
--- a/data/ui/resume-dialog.ui
+++ b/data/ui/resume-dialog.ui
@@ -9,13 +9,11 @@
     <property name="text" translatable="yes">Resume last game?</property>
     <child type="action">
       <object class="GtkButton" id="button_reset">
-        <property name="visible">True</property>
         <property name="label" translatable="yes">Restart</property>
       </object>
     </child>
     <child type="action">
       <object class="GtkButton" id="button_resume">
-        <property name="visible">True</property>
         <property name="can-default">True</property>
         <property name="label" translatable="yes">Resume</property>
       </object>
diff --git a/data/ui/resume-failed-dialog.ui b/data/ui/resume-failed-dialog.ui
index bd1cc9eb..964a3fe0 100644
--- a/data/ui/resume-failed-dialog.ui
+++ b/data/ui/resume-failed-dialog.ui
@@ -9,14 +9,12 @@
     <property name="text" translatable="yes">Resuming failed. Do you want to restart the game?</property>
     <child type="action">
       <object class="GtkButton" id="button_cancel">
-        <property name="visible">True</property>
         <property name="can-default">True</property>
         <property name="label" translatable="yes">Cancel</property>
       </object>
     </child>
     <child type="action">
       <object class="GtkButton" id="button_reset">
-        <property name="visible">True</property>
         <property name="label" translatable="yes" context="Resuming a game failed dialog">Reset</property>
       </object>
     </child>
diff --git a/data/ui/search-bar.ui b/data/ui/search-bar.ui
index d1f27263..a2150eae 100644
--- a/data/ui/search-bar.ui
+++ b/data/ui/search-bar.ui
@@ -2,14 +2,11 @@
 <interface>
   <!-- interface-requires gtk+ 3.16 -->
   <template class="GamesSearchBar" parent="GtkSearchBar">
-    <property name="visible">True</property>
     <child>
       <object class="GtkBox">
-        <property name="visible">True</property>
         <property name="width-request">400</property>
         <child>
           <object class="GtkSearchEntry" id="entry">
-            <property name="visible">True</property>
             <property name="hexpand">True</property>
             <signal name="search-changed" handler="on_search_changed"/>
             <signal name="activate" handler="on_search_activated"/>
diff --git a/data/ui/shortcuts-window.ui b/data/ui/shortcuts-window.ui
index 2b73d330..4bb4fc3e 100644
--- a/data/ui/shortcuts-window.ui
+++ b/data/ui/shortcuts-window.ui
@@ -8,14 +8,11 @@
         <property name="max-height">12</property>
         <property name="section-name">shortcuts</property>
         <property name="title" translatable="yes">Shortcuts</property>
-        <property name="visible">True</property>
         <child>
           <object class="GtkShortcutsGroup">
             <property name="title" translatable="yes">General</property>
-            <property name="visible">True</property>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Quit</property>
                 <property name="accelerator">&lt;Primary&gt;Q</property>
               </object>
@@ -25,17 +22,14 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="title" translatable="yes">Collection</property>
-            <property name="visible">True</property>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Search</property>
                 <property name="accelerator">&lt;Primary&gt;F</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="collection_shortcut_left_stick">
-                <property name="visible">True</property>
                 <property name="shortcut-type">gesture</property>
                 <property name="title" translatable="yes" context="shortcut window">Navigate</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Left analog 
stick</property>
@@ -43,7 +37,6 @@
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="collection_shortcut_dpad">
-                <property name="visible">True</property>
                 <property name="shortcut-type">gesture</property>
                 <property name="title" translatable="yes" context="shortcut window">Navigate</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Directional 
pad</property>
@@ -51,7 +44,6 @@
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="collection_shortcut_shoulders_front">
-                <property name="visible">True</property>
                 <property name="shortcut-type">gesture</property>
                 <property name="title" translatable="yes" context="shortcut window">Select view</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Front shoulder 
buttons</property>
@@ -59,7 +51,6 @@
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="collection_shortcut_start">
-                <property name="visible">True</property>
                 <property name="shortcut-type">gesture</property>
                 <property name="title" translatable="yes" context="shortcut window">Start game</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Start 
button</property>
@@ -67,7 +58,6 @@
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="collection_shortcut_south">
-                <property name="visible">True</property>
                 <property name="shortcut-type">gesture</property>
                 <property name="title" translatable="yes" context="shortcut window">Start game</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Bottom action 
button</property>
@@ -78,31 +68,26 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="title" translatable="yes">In Game</property>
-            <property name="visible">True</property>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Toggle 
fullscreen</property>
                 <property name="accelerator">&lt;Primary&gt;F F11</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Exit 
fullscreen</property>
                 <property name="accelerator">Escape</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="ingame_shortcut_alt_left">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Go back to the 
collection</property>
                 <property name="accelerator">&lt;alt&gt;Left &lt;alt&gt;Right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="ingame_shortcut_home">
-                <property name="visible">True</property>
                 <property name="shortcut-type">gesture</property>
                 <property name="title" translatable="yes" context="shortcut window">Go back to the 
collection</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Home button</property>
@@ -110,7 +95,6 @@
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="ingame_shortcut_south">
-                <property name="visible">True</property>
                 <property name="shortcut-type">gesture</property>
                 <property name="title" translatable="yes" context="shortcut window">Accept</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Bottom action 
button</property>
@@ -118,7 +102,6 @@
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="ingame_shortcut_east">
-                <property name="visible">True</property>
                 <property name="shortcut-type">gesture</property>
                 <property name="title" translatable="yes" context="shortcut window">Cancel</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Right action 
button</property>
@@ -133,14 +116,11 @@
         <property name="max-height">12</property>
         <property name="section-name">cheats</property>
         <property name="title" translatable="yes">Cheats</property>
-        <property name="visible">True</property>
         <child>
           <object class="GtkShortcutsGroup">
             <property name="title" translatable="yes">Collection</property>
-            <property name="visible">True</property>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Contribute</property>
                 <property name="accelerator">Up+Up+Down+Down+Left+Right+Left+Right+B+A</property>
               </object>
diff --git a/data/ui/sidebar-view.ui b/data/ui/sidebar-view.ui
index 0617dc21..0c317718 100644
--- a/data/ui/sidebar-view.ui
+++ b/data/ui/sidebar-view.ui
@@ -2,18 +2,15 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesSidebarView" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="expand">True</property>
     <signal name="map" after="yes" handler="on_map"/>
     <signal name="unmap" after="no" handler="on_unmap"/>
     <child>
       <object class="GtkScrolledWindow">
-        <property name="visible">True</property>
         <property name="vexpand">True</property>
         <property name="width-request">250</property>
         <child>
           <object class="GtkListBox" id="list_box">
-            <property name="visible">True</property>
             <signal name="row-activated" handler="on_list_box_row_activated"/>
             <signal name="row-selected" handler="on_list_box_row_selected"/>
             <style>
@@ -25,7 +22,6 @@
     </child>
     <child>
       <object class="GamesCollectionIconView" id="collection_view">
-        <property name="visible">True</property>
         <property name="expand">True</property>
       </object>
     </child>
diff --git a/src/ui/collection-icon-view.vala b/src/ui/collection-icon-view.vala
index 572a1784..cd8f80c1 100644
--- a/src/ui/collection-icon-view.vala
+++ b/src/ui/collection-icon-view.vala
@@ -213,9 +213,6 @@ private class Games.CollectionIconView : Gtk.Bin {
                var game_view = new GameIconView (game);
                var child = new Gtk.FlowBoxChild ();
 
-               game_view.visible = true;
-               child.visible = true;
-
                child.add (game_view);
                flow_box.add (child);
        }
diff --git a/src/ui/display-box.vala b/src/ui/display-box.vala
index fd36211a..bd16a08c 100644
--- a/src/ui/display-box.vala
+++ b/src/ui/display-box.vala
@@ -62,7 +62,6 @@ private class Games.DisplayBox : Gtk.Bin {
        private void set_display (Gtk.Widget display) {
                remove_display ();
                display_bin.add (display);
-               display.visible = true;
        }
 
        private void remove_display () {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]