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



commit 588942dc4508069660915e03a596e9117a0b64ee
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                      |  8 ++----
 data/ui/checkmark-item.ui                          |  3 ---
 data/ui/collection-box.ui                          | 15 +----------
 data/ui/collection-header-bar.ui                   | 15 +----------
 data/ui/collection-icon-view.ui                    |  3 ---
 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/platforms-view.ui                          |  4 ---
 data/ui/preferences-page-backup-restore.ui         | 15 -----------
 data/ui/preferences-page-controllers.ui            |  7 -----
 data/ui/preferences-page-platforms-generic-row.ui  |  2 --
 data/ui/preferences-page-platforms-retro-row.ui    |  7 -----
 data/ui/preferences-page-platforms.ui              |  3 ---
 data/ui/preferences-page-video.ui                  |  4 ---
 data/ui/preferences-page.ui                        | 10 --------
 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                      | 27 +++----------------
 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                        | 30 ----------------------
 .../nintendo-ds/data/ui/nintendo-ds-layout-item.ui |  5 ----
 .../data/ui/nintendo-ds-layout-switcher.ui         | 13 +---------
 src/ui/collection-icon-view.vala                   |  3 ---
 src/ui/display-box.vala                            |  1 -
 44 files changed, 16 insertions(+), 274 deletions(-)
---
diff --git a/data/ui/application-window.ui b/data/ui/application-window.ui
index d3bda7b5..1912792a 100644
--- a/data/ui/application-window.ui
+++ b/data/ui/application-window.ui
@@ -20,14 +20,10 @@
       </object>
     </child>
     <child>
-      <object class="GtkStack" id="content_box">
-        <property name="visible">True</property>
-      </object>
+      <object class="GtkStack" id="content_box"/>
     </child>
     <child type="titlebar">
-          <object class="GtkStack" id="header_bar">
-            <property name="visible">True</property>
-          </object>
+          <object class="GtkStack" id="header_bar"/>
     </child>
   </template>
 </interface>
diff --git a/data/ui/checkmark-item.ui b/data/ui/checkmark-item.ui
index faabdae2..05228dbb 100644
--- a/data/ui/checkmark-item.ui
+++ b/data/ui/checkmark-item.ui
@@ -2,15 +2,12 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesCheckmarkItem" parent="GtkListBoxRow">
-    <property name="visible">true</property>
     <child>
       <object class="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 4545a8c1..2358f1df 100644
--- a/data/ui/collection-box.ui
+++ b/data/ui/collection-box.ui
@@ -2,13 +2,11 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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>
@@ -17,11 +15,9 @@
     </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"/>
@@ -32,9 +28,7 @@
               <object class="GtkStackPage">
                 <property name="name">empty</property>
                 <property name="child">
-                  <object class="GamesEmptyCollection" id="empty_collection">
-                    <property name="visible">True</property>
-                  </object>
+                  <object class="GamesEmptyCollection" id="empty_collection"/>
                 </property>
               </object>
             </child>
@@ -44,7 +38,6 @@
                 <property name="title" translatable="yes">Games</property>
                 <property name="child">
                   <object class="GamesCollectionIconView" id="collection_view">
-                    <property name="visible">True</property>
                     <signal name="game-activated" handler="on_game_activated"/>
                   </object>
                 </property>
@@ -56,7 +49,6 @@
                 <property name="title" translatable="yes">Platforms</property>
                 <property name="child">
                   <object class="GamesPlatformsView" id="platform_view">
-                    <property name="visible">True</property>
                     <signal name="game-activated" handler="on_game_activated"/>
                   </object>
                 </property>
@@ -66,28 +58,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 cd413a72..6ee63057 100644
--- a/data/ui/collection-header-bar.ui
+++ b/data/ui/collection-header-bar.ui
@@ -2,11 +2,9 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesCollectionHeaderBar" parent="GtkHeaderBar">
-    <property name="visible">True</property>
     <property name="show-title-buttons">True</property>
     <child type="start">
       <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>
@@ -25,22 +23,17 @@
         <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>
     </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"/>
@@ -51,7 +44,6 @@
     </child>
     <child type="end">
       <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>
@@ -69,13 +61,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">Pr_eferences</property>
             <property name="action-name">app.preferences</property>
-            <property name="visible">True</property>
           </object>
         </child>
         <child>
@@ -83,7 +73,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>
@@ -91,7 +80,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>
@@ -99,7 +87,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 4bb4c1b4..dd2608c2 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.24"/>
   <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/display-box.ui b/data/ui/display-box.ui
index e2806d52..76d67464 100644
--- a/data/ui/display-box.ui
+++ b/data/ui/display-box.ui
@@ -2,28 +2,21 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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"/>
             </child>
             <child>
               <object class="GtkFrame" id="display_bin">
-                <property name="visible">True</property>
                 <property name="shadow-type">none</property>
               </object>
             </child>
diff --git a/data/ui/display-header-bar.ui b/data/ui/display-header-bar.ui
index 1f35f4f9..9482dace 100644
--- a/data/ui/display-header-bar.ui
+++ b/data/ui/display-header-bar.ui
@@ -2,14 +2,12 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesDisplayHeaderBar" parent="GtkHeaderBar">
-    <property name="visible">True</property>
     <property name="title" translatable="yes">Games</property>
     <property name="show-title-buttons">True</property>
     <signal name="notify::is-fullscreen" handler="on_fullscreen_changed"/>
     <signal name="notify::can-fullscreen" handler="on_fullscreen_changed"/>
     <child type="start">
       <object class="GtkButton" id="back">
-        <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="valign">center</property>
         <property name="use-underline">True</property>
@@ -60,9 +58,7 @@
       </object>
     </child>
     <child type="end">
-      <object class="GamesInputModeSwitcher" id="input_mode_switcher">
-        <property name="visible">True</property>
-      </object>
+      <object class="GamesInputModeSwitcher" id="input_mode_switcher"/>
     </child>
   </template>
 </interface>
diff --git a/data/ui/dummy-display.ui b/data/ui/dummy-display.ui
index 855dab43..5590a209 100644
--- a/data/ui/dummy-display.ui
+++ b/data/ui/dummy-display.ui
@@ -2,7 +2,6 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 45571895..f819a8ed 100644
--- a/data/ui/empty-collection.ui
+++ b/data/ui/empty-collection.ui
@@ -2,13 +2,11 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 5b116ed0..1e2b68ea 100644
--- a/data/ui/error-display.ui
+++ b/data/ui/error-display.ui
@@ -2,13 +2,11 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 5eb4ec34..4511a8ee 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.24"/>
   <template class="GamesErrorInfoBar" parent="GtkInfoBar">
-    <property name="visible">True</property>
     <property name="revealed">False</property>
     <property name="halign">fill</property>
     <property name="valign">start</property>
@@ -13,7 +12,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">word-char</property>
           </object>
diff --git a/data/ui/fullscreen-box.ui b/data/ui/fullscreen-box.ui
index 2e71b5c6..38fb9600 100644
--- a/data/ui/fullscreen-box.ui
+++ b/data/ui/fullscreen-box.ui
@@ -2,7 +2,6 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 51c800a9..f0216603 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.24"/>
   <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 5fd11b08..02bca1e8 100644
--- a/data/ui/gamepad-mapper.ui
+++ b/data/ui/gamepad-mapper.ui
@@ -2,11 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 3eb96981..fc829459 100644
--- a/data/ui/gamepad-tester.ui
+++ b/data/ui/gamepad-tester.ui
@@ -2,11 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 8ea7543b..7a903398 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 07d37535..6f018050 100644
--- a/data/ui/keyboard-mapper.ui
+++ b/data/ui/keyboard-mapper.ui
@@ -2,11 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 811efaa2..9fc110c1 100644
--- a/data/ui/keyboard-tester.ui
+++ b/data/ui/keyboard-tester.ui
@@ -2,11 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 8b3229ce..3e065ecd 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 95c6f336..2aba7053 100644
--- a/data/ui/platform-list-item.ui
+++ b/data/ui/platform-list-item.ui
@@ -2,10 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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/platforms-view.ui b/data/ui/platforms-view.ui
index 0cfbb72d..0a754186 100644
--- a/data/ui/platforms-view.ui
+++ b/data/ui/platforms-view.ui
@@ -2,18 +2,15 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesPlatformsView" 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/data/ui/preferences-page-backup-restore.ui b/data/ui/preferences-page-backup-restore.ui
index 78aaa58f..b35e98f5 100644
--- a/data/ui/preferences-page-backup-restore.ui
+++ b/data/ui/preferences-page-backup-restore.ui
@@ -2,10 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesPreferencesPageBackupRestore" parent="GamesPreferencesPage">
-    <property name="visible">True</property>
     <child>
       <object class="GtkLabel">
-        <property name="visible">True</property>
         <property name="xalign">0</property>
         <property name="label" translatable="yes">Backup save states and in-game saves. This can be used for 
moving the data to another device or for restoring it later. Desktop, Steam and LÖVE games cannot be backed 
up.</property>
         <property name="wrap">True</property>
@@ -16,24 +14,19 @@
     </child>
     <child>
       <object class="GtkFrame">
-        <property name="visible">True</property>
         <property name="shadow-type">in</property>
         <child>
           <object class="GtkListBox">
-            <property name="visible">True</property>
             <property name="selection-mode">none</property>
             <child>
               <object class="GtkListBoxRow">
-                <property name="visible">True</property>
                 <child>
                   <object class="GtkBox">
-                    <property name="visible">True</property>
                     <property name="valign">center</property>
                     <property name="margin">6</property>
                     <property name="spacing">6</property>
                     <child>
                       <object class="GtkLabel">
-                        <property name="visible">True</property>
                         <property name="xalign">0</property>
                         <property name="expand">True</property>
                         <property name="label" translatable="yes">Backup save data</property>
@@ -42,7 +35,6 @@
                     </child>
                     <child>
                       <object class="GtkButton">
-                        <property name="visible">True</property>
                         <property name="can-focus">True</property>
                         <property name="use-underline">True</property>
                         <property name="label" translatable="yes">_Backup</property>
@@ -59,7 +51,6 @@
     </child>
     <child>
       <object class="GtkLabel">
-        <property name="visible">True</property>
         <property name="xalign">0</property>
         <property name="margin-top">12</property>
         <property name="label" translatable="yes">Restore save data for games from existing backup. This 
will replace existing saves and cannot be undone.</property>
@@ -71,24 +62,19 @@
     </child>
     <child>
        <object class="GtkFrame">
-        <property name="visible">True</property>
         <property name="shadow-type">in</property>
         <child>
           <object class="GtkListBox">
-            <property name="visible">True</property>
             <property name="selection-mode">none</property>
             <child>
               <object class="GtkListBoxRow">
-                <property name="visible">True</property>
                 <child>
                   <object class="GtkBox">
-                    <property name="visible">True</property>
                     <property name="valign">center</property>
                     <property name="margin">6</property>
                     <property name="spacing">6</property>
                     <child>
                       <object class="GtkLabel">
-                        <property name="visible">True</property>
                         <property name="xalign">0</property>
                         <property name="expand">True</property>
                         <property name="label" translatable="yes">Restore save data</property>
@@ -97,7 +83,6 @@
                     </child>
                     <child>
                       <object class="GtkButton">
-                        <property name="visible">True</property>
                         <property name="can-focus">True</property>
                         <property name="use-underline">True</property>
                         <property name="label" translatable="yes">_Restore</property>
diff --git a/data/ui/preferences-page-controllers.ui b/data/ui/preferences-page-controllers.ui
index 939b996a..494bd7c2 100644
--- a/data/ui/preferences-page-controllers.ui
+++ b/data/ui/preferences-page-controllers.ui
@@ -2,10 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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>
@@ -15,11 +13,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>
@@ -28,7 +24,6 @@
     </child>
     <child>
       <object class="GtkLabel">
-        <property name="visible">True</property>
         <property name="halign">start</property>
         <property name="label" translatable="yes">Keyboard</property>
         <attributes>
@@ -38,11 +33,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-platforms-generic-row.ui 
b/data/ui/preferences-page-platforms-generic-row.ui
index 6d5b87f1..6faebef5 100644
--- a/data/ui/preferences-page-platforms-generic-row.ui
+++ b/data/ui/preferences-page-platforms-generic-row.ui
@@ -2,10 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesPreferencesPagePlatformsGenericRow" parent="GtkListBoxRow">
-    <property name="visible">True</property>
     <child>
       <object class="GtkLabel" id="title_label">
-        <property name="visible">True</property>
         <property name="ellipsize">end</property>
         <property name="halign">start</property>
         <property name="hexpand">true</property>
diff --git a/data/ui/preferences-page-platforms-retro-row.ui b/data/ui/preferences-page-platforms-retro-row.ui
index d90e9e18..0e18cb7a 100644
--- a/data/ui/preferences-page-platforms-retro-row.ui
+++ b/data/ui/preferences-page-platforms-retro-row.ui
@@ -2,20 +2,16 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesPreferencesPagePlatformsRetroRow" parent="GtkListBoxRow">
-    <property name="visible">True</property>
     <child>
       <object class="GtkBox">
-        <property name="visible">True</property>
         <property name="margin">6</property>
         <property name="spacing">6</property>
         <child>
           <object class="GtkBox">
-            <property name="visible">True</property>
             <property name="orientation">vertical</property>
             <property name="hexpand">true</property>
             <child>
               <object class="GtkLabel" id="name_label">
-                <property name="visible">True</property>
                 <property name="ellipsize">end</property>
                 <property name="halign">start</property>
                 <property name="hexpand">true</property>
@@ -23,7 +19,6 @@
             </child>
             <child>
               <object class="GtkLabel" id="core_label">
-                <property name="visible">True</property>
                 <property name="ellipsize">end</property>
                 <property name="halign">start</property>
                 <style>
@@ -48,13 +43,11 @@
     <property name="position">bottom</property>
     <child>
       <object class="GtkScrolledWindow">
-        <property name="visible">True</property>
         <property name="hscrollbar-policy">never</property>
         <property name="max-content-height">400</property>
         <property name="propagate_natural_height">True</property>
         <child>
           <object class="GtkListBox" id="list_box">
-            <property name="visible">True</property>
             <property name="selection-mode">none</property>
             <property name="margin">6</property>
             <signal name="row-activated" handler="on_row_activated"/>
diff --git a/data/ui/preferences-page-platforms.ui b/data/ui/preferences-page-platforms.ui
index 43ea93b2..0073063b 100644
--- a/data/ui/preferences-page-platforms.ui
+++ b/data/ui/preferences-page-platforms.ui
@@ -2,15 +2,12 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesPreferencesPagePlatforms" 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>
             <signal name="row-activated" handler="on_row_activated"/>
           </object>
         </child>
diff --git a/data/ui/preferences-page-video.ui b/data/ui/preferences-page-video.ui
index 6559d6a1..f0d0ce72 100644
--- a/data/ui/preferences-page-video.ui
+++ b/data/ui/preferences-page-video.ui
@@ -2,10 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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>
@@ -15,11 +13,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 cc9425c9..e2f0e06e 100644
--- a/data/ui/preferences-page.ui
+++ b/data/ui/preferences-page.ui
@@ -2,27 +2,21 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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="GtkOverlay">
-                <property name="visible">True</property>
                 <property name="vexpand">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>
@@ -33,19 +27,16 @@
                 </child>
                 <child type="overlay">
                   <object class="GtkRevealer" id="error_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">12</property>
                         <style>
                           <class name="app-notification"/>
                         </style>
                         <child>
                           <object class="GtkLabel" id="error_label">
-                            <property name="visible">True</property>
                             <property name="xalign">0</property>
                             <property name="wrap">True</property>
                             <property name="wrap-mode">word-char</property>
@@ -53,7 +44,6 @@
                         </child>
                         <child>
                           <object class="GtkButton">
-                            <property name="visible">True</property>
                             <property name="can-focus">True</property>
                             <property name="valign">center</property>
                             <property name="icon-name">window-close-symbolic</property>
diff --git a/data/ui/preferences-sidebar-item.ui b/data/ui/preferences-sidebar-item.ui
index 332f6dc3..c0b5f276 100644
--- a/data/ui/preferences-sidebar-item.ui
+++ b/data/ui/preferences-sidebar-item.ui
@@ -2,10 +2,8 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 c841f9ba..35ee9eec 100644
--- a/data/ui/preferences-sidebar.ui
+++ b/data/ui/preferences-sidebar.ui
@@ -2,18 +2,15 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 2525dcae..cfc4df37 100644
--- a/data/ui/preferences-subpage-gamepad.ui
+++ b/data/ui/preferences-subpage-gamepad.ui
@@ -2,23 +2,18 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 type="end">
               <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>
@@ -28,7 +23,6 @@
             </child>
             <child type="start">
               <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>
@@ -40,17 +34,14 @@
         </child>
         <child type="start">
           <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>
             </child>
             <child type="center">
               <object class="GtkLabel" id="info_message">
-                <property name="visible">True</property>
                 <property name="ellipsize">end</property>
               </object>
             </child>
@@ -60,11 +51,9 @@
     </child>
   </template>
   <object class="GtkHeaderBar" id="header_bar">
-    <property name="visible">True</property>
     <property name="expand">True</property>
     <child type="start">
       <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">
@@ -76,7 +65,6 @@
     </child>
     <child type="end">
       <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 569d290d..f306cf5f 100644
--- a/data/ui/preferences-subpage-keyboard.ui
+++ b/data/ui/preferences-subpage-keyboard.ui
@@ -2,24 +2,19 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 type="end">
               <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>
@@ -29,7 +24,6 @@
             </child>
             <child type="start">
               <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>
@@ -41,17 +35,14 @@
         </child>
         <child>
           <object class="GtkActionBar" id="mapper_action_bar">
-            <property name="visible">True</property>
             <child type="start">
               <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>
             </child>
             <child type="center">
               <object class="GtkLabel" id="info_message">
-                <property name="visible">True</property>
                 <property name="ellipsize">end</property>
               </object>
             </child>
@@ -61,11 +52,9 @@
     </child>
   </template>
   <object class="GtkHeaderBar" id="header_bar">
-    <property name="visible">True</property>
     <property name="expand">True</property>
     <child type="start">
       <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">
@@ -77,7 +66,6 @@
     </child>
     <child type="end">
       <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 cedddf0a..3aa92a24 100644
--- a/data/ui/preferences-window.ui
+++ b/data/ui/preferences-window.ui
@@ -8,19 +8,15 @@
     <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">False</property>
                   </object>
@@ -28,7 +24,6 @@
                 <child>
                   <object class="GtkSeparator" id="header_separator">
                     <property name="orientation">vertical</property>
-                    <property name="visible">True</property>
                     <style>
                       <class name="sidebar"/>
                     </style>
@@ -37,7 +32,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>
                     <child type="start">
@@ -62,18 +56,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>
@@ -81,7 +72,6 @@
             <child>
               <object class="GtkSeparator" id="separator">
                 <property name="orientation">vertical</property>
-                <property name="visible">True</property>
                 <style>
                   <class name="sidebar"/>
                 </style>
@@ -89,30 +79,21 @@
             </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>
                 <property name="width-request">300</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="GamesPreferencesPagePlatforms" id="platforms_page">
-                    <property name="visible">True</property>
-                  </object>
+                  <object class="GamesPreferencesPagePlatforms" id="platforms_page"/>
                 </child>
                 <child>
-                  <object class="GamesPreferencesPageBackupRestore" id="backup_restore_page">
-                    <property name="visible">True</property>
-                  </object>
+                  <object class="GamesPreferencesPageBackupRestore" id="backup_restore_page"/>
                 </child>
               </object>
             </child>
diff --git a/data/ui/quit-dialog.ui b/data/ui/quit-dialog.ui
index 8bd856cc..fd6a7c52 100644
--- a/data/ui/quit-dialog.ui
+++ b/data/ui/quit-dialog.ui
@@ -10,13 +10,11 @@
     <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="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 95350084..b66c7201 100644
--- a/data/ui/remote-display.ui
+++ b/data/ui/remote-display.ui
@@ -2,7 +2,6 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 1e0a0356..77978930 100644
--- a/data/ui/reset-controller-mapping-dialog.ui
+++ b/data/ui/reset-controller-mapping-dialog.ui
@@ -10,13 +10,11 @@
     <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="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 b19780dc..38fd6c40 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="label" translatable="yes">Resume</property>
       </object>
     </child>
diff --git a/data/ui/resume-failed-dialog.ui b/data/ui/resume-failed-dialog.ui
index 4bac04fc..9c7d7fba 100644
--- a/data/ui/resume-failed-dialog.ui
+++ b/data/ui/resume-failed-dialog.ui
@@ -9,13 +9,11 @@
     <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="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 18f24328..21020bc1 100644
--- a/data/ui/search-bar.ui
+++ b/data/ui/search-bar.ui
@@ -2,14 +2,11 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <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 cc86abdd..57663c6d 100644
--- a/data/ui/shortcuts-window.ui
+++ b/data/ui/shortcuts-window.ui
@@ -9,14 +9,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>
@@ -26,17 +23,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>
@@ -44,7 +38,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>
@@ -52,7 +45,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>
@@ -60,7 +52,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>
@@ -68,7 +59,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>
@@ -79,31 +69,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>
@@ -111,7 +96,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>
@@ -119,7 +103,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>
@@ -134,21 +117,17 @@
         <property name="max-height">12</property>
         <property name="section-name">nintendo_ds</property>
         <property name="title" translatable="yes">Nintendo DS</property>
-        <property name="visible">True</property>
         <child>
           <object class="GtkShortcutsGroup">
             <property name="title" translatable="yes">Screen Layout</property>
-            <property name="visible">True</property>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Vertical</property>
                 <property name="accelerator">&lt;alt&gt;1</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Side by side</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Bottom to the 
right</property>
                 <property name="accelerator">&lt;alt&gt;2</property>
@@ -156,7 +135,6 @@
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Side by side</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Bottom to the 
left</property>
                 <property name="accelerator">&lt;alt&gt;3</property>
@@ -164,7 +142,6 @@
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Single screen</property>
                 <property name="accelerator">&lt;alt&gt;4</property>
               </object>
@@ -174,24 +151,20 @@
         <child>
           <object class="GtkShortcutsGroup">
             <property name="title" translatable="yes">Screen Switching</property>
-            <property name="visible">True</property>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Show top 
screen</property>
                 <property name="accelerator">Page_Up</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Show bottom 
screen</property>
                 <property name="accelerator">Page_Down</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut" id="nintendo_ds_shortcut_right_stick">
-                <property name="visible">True</property>
                 <property name="shortcut-type">gesture</property>
                 <property name="title" translatable="yes" context="shortcut window">Toggle screen</property>
                 <property name="subtitle" translatable="yes" context="shortcut window">Press right analog 
stick</property>
@@ -206,14 +179,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/plugins/nintendo-ds/data/ui/nintendo-ds-layout-item.ui 
b/plugins/nintendo-ds/data/ui/nintendo-ds-layout-item.ui
index 81b78ae0..f9596081 100644
--- a/plugins/nintendo-ds/data/ui/nintendo-ds-layout-item.ui
+++ b/plugins/nintendo-ds/data/ui/nintendo-ds-layout-item.ui
@@ -2,15 +2,12 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesNintendoDsLayoutItem" parent="GtkListBoxRow">
-    <property name="visible">True</property>
     <child>
       <object class="GtkBox">
-        <property name="visible">True</property>
         <property name="margin">6</property>
         <property name="spacing">6</property>
         <child>
           <object class="GtkImage" id="icon">
-            <property name="visible">True</property>
             <property name="pixel-size">32</property>
             <style>
               <class name="list-icon"/>
@@ -19,12 +16,10 @@
         </child>
         <child>
           <object class="GtkBox">
-            <property name="visible">True</property>
             <property name="orientation">vertical</property>
             <property name="valign">center</property>
             <child>
               <object class="GtkLabel" id="title">
-                <property name="visible">True</property>
                 <property name="halign">start</property>
               </object>
             </child>
diff --git a/plugins/nintendo-ds/data/ui/nintendo-ds-layout-switcher.ui 
b/plugins/nintendo-ds/data/ui/nintendo-ds-layout-switcher.ui
index f56cb23e..797f3a89 100644
--- a/plugins/nintendo-ds/data/ui/nintendo-ds-layout-switcher.ui
+++ b/plugins/nintendo-ds/data/ui/nintendo-ds-layout-switcher.ui
@@ -2,15 +2,11 @@
 <interface>
   <requires lib="gtk+" version="3.24"/>
   <template class="GamesNintendoDsLayoutSwitcher" parent="GtkBox">
-    <property name="visible">True</property>
-
     <child>
       <object class="GtkRevealer" id="change_screen_revealer">
-        <property name="visible">True</property>
         <property name="transition-type">slide-left</property>
         <child>
           <object class="GtkButton" id="change_screen_button">
-            <property name="visible">True</property>
             <property name="can-focus">False</property>
             <property name="margin-end">6</property>
             <signal name="clicked" handler="on_screen_changed"/>
@@ -25,7 +21,6 @@
     </child>
     <child>
       <object class="GtkMenuButton">
-        <property name="visible">True</property>
         <property name="can-focus">False</property>
         <property name="popover">layout_popover</property>
           <child internal-child="accessible">
@@ -35,16 +30,12 @@
         </child>
         <child>
           <object class="GtkBox">
-            <property name="visible">True</property>
             <property name="spacing">6</property>
             <child>
-              <object class="GtkImage" id="layout_image">
-                <property name="visible">True</property>
-              </object>
+              <object class="GtkImage" id="layout_image"/>
             </child>
             <child>
               <object class="GtkImage">
-                <property name="visible">True</property>
                 <property name="icon-name">pan-down-symbolic</property>
               </object>
             </child>
@@ -57,11 +48,9 @@
     <property name="visible">False</property>
     <child>
       <object class="GtkFrame">
-        <property name="visible">True</property>
         <property name="margin">6</property>
         <child>
           <object class="GtkListBox" id="list_box">
-            <property name="visible">True</property>
             <signal name="row-activated" handler="on_row_activated"/>
           </object>
         </child>
diff --git a/src/ui/collection-icon-view.vala b/src/ui/collection-icon-view.vala
index d5768a3d..6563b929 100644
--- a/src/ui/collection-icon-view.vala
+++ b/src/ui/collection-icon-view.vala
@@ -205,9 +205,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 e460526f..4f51eefe 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]