[gnome-games/wip/exalm/gtk4: 30/30] ui: Don't specify visible when it's true
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/gtk4: 30/30] ui: Don't specify visible when it's true
- Date: Sun, 7 Oct 2018 10:36:26 +0000 (UTC)
commit c98c9c236dc00b9db61d3823f2bd4777e8f9fdf4
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 | 7 -------
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 | 10 +---------
data/ui/display-header-bar.ui | 2 --
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/game-icon-view.ui | 7 +------
data/ui/gamepad-mapper.ui | 5 +----
data/ui/gamepad-tester.ui | 5 +----
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 | 11 -----------
data/ui/preferences-page-plugins-item.ui | 3 ---
data/ui/preferences-page-plugins.ui | 7 -------
data/ui/preferences-page-video.ui | 8 --------
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 | 2 --
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 -
36 files changed, 11 insertions(+), 216 deletions(-)
---
diff --git a/data/ui/application-window.ui b/data/ui/application-window.ui
index 422e31e4..54e38dc2 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,13 +42,10 @@
</child>
<child type="titlebar">
<object class="GtkBox">
- <property name="visible">True</property>
<child>
<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>
@@ -60,7 +54,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 4c0237b0..90207bdd 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">GTK_STACK_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 85630a1e..46575279 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">GTK_STACK_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">app.shortcuts</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 8e83ea7f..fa16a117 100644
--- a/data/ui/display-box.ui
+++ b/data/ui/display-box.ui
@@ -2,7 +2,6 @@
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="GamesDisplayBox" 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="fullscreen_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>
@@ -26,7 +23,6 @@
</child>
<child>
<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>
@@ -35,18 +31,14 @@
</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 cb724dfc..f5ba0f90 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>
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 4b1ed78c..0c68c94b 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 42c7e0ca..b005076f 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/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/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 8d755417..54749c37 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 835d0818..445168e2 100644
--- a/data/ui/preferences-page-controllers.ui
+++ b/data/ui/preferences-page-controllers.ui
@@ -1,30 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesPreferencesPageControllers" 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">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="margin">12</property>
<property name="spacing">12</property>
<property name="hexpand">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>
@@ -34,11 +28,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>
@@ -47,7 +39,6 @@
</child>
<child>
<object class="GtkLabel">
- <property name="visible">True</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Keyboard</property>
<attributes>
@@ -57,11 +48,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 30557756..f99d7855 100644
--- a/data/ui/preferences-page-plugins.ui
+++ b/data/ui/preferences-page-plugins.ui
@@ -2,35 +2,28 @@
<interface>
<!-- interface-requires gtk+ 3.16 -->
<template class="GamesPreferencesPagePlugins" parent="GtkBin">
- <property name="visible">True</property>
<child>
<object class="GtkScrolledWindow" id="plugins">
- <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">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="margin">12</property>
<property name="spacing">12</property>
<property name="hexpand">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 bd26e7ca..398732fa 100644
--- a/data/ui/preferences-page-video.ui
+++ b/data/ui/preferences-page-video.ui
@@ -1,30 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesPreferencesPageVideo" 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">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="margin">12</property>
<property name="spacing">12</property>
<property name="hexpand">True</property>
<child>
<object class="GtkLabel">
- <property name="visible">True</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Filter</property>
<attributes>
@@ -34,11 +28,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-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 8f0e8753..3a950e5e 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 710611e8..11b45b27 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">GTK_WIN_POS_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,19 +45,16 @@
</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="GtkStackSidebar" id="sidebar">
<property name="margin-top">4</property>
<property name="stack">stack</property>
<property name="vexpand">True</property>
- <property name="visible">True</property>
<property name="width-request">150</property>
<style>
<class name="preferences" />
@@ -74,7 +64,6 @@
<child>
<object class="GtkSeparator" id="separator">
<property name="orientation">vertical</property>
- <property name="visible">True</property>
<style>
<class name="sidebar"/>
</style>
@@ -82,32 +71,25 @@
</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">GTK_STACK_TRANSITION_TYPE_CROSSFADE</property>
<child>
- <object class="GamesPreferencesPageVideo" id="video_page">
- <property name="visible">True</property>
- </object>
+ <object class="GamesPreferencesPageVideo" id="video_page"/>
<packing>
<property name="name">video</property>
<property name="title" translatable="yes">Video</property>
</packing>
</child>
<child>
- <object class="GamesPreferencesPageControllers" id="controllers_page">
- <property name="visible">True</property>
- </object>
+ <object class="GamesPreferencesPageControllers" id="controllers_page"/>
<packing>
<property name="name">controllers</property>
<property name="title" translatable="yes">Controllers</property>
</packing>
</child>
<child>
- <object class="GamesPreferencesPagePlugins" id="plugins_page">
- <property name="visible">True</property>
- </object>
+ <object class="GamesPreferencesPagePlugins" id="plugins_page"/>
<packing>
<property name="name">plugins</property>
<property name="title" translatable="yes">Extensions</property>
diff --git a/data/ui/quit-dialog.ui b/data/ui/quit-dialog.ui
index 390cc19f..7d5d801e 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 71249363..264b49f0 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 08005fd1..44bbae14 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 8d61c86f..8bad36f3 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 3416d49f..900ee810 100644
--- a/data/ui/search-bar.ui
+++ b/data/ui/search-bar.ui
@@ -2,10 +2,8 @@
<interface>
<!-- interface-requires gtk+ 3.16 -->
<template class="GamesSearchBar" parent="GtkSearchBar">
- <property name="visible">True</property>
<child>
<object class="GtkSearchEntry" id="entry">
- <property name="visible">True</property>
<property name="width-chars">40</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"><Primary>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"><Primary>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"><Primary>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"><alt>Left <alt>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 8b8f8d27..e533c10b 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 e9ac1497..824a26ad 100644
--- a/src/ui/display-box.vala
+++ b/src/ui/display-box.vala
@@ -132,7 +132,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]