[gnome-games/wip/exalm/gtk4: 34/34] 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: 34/34] ui: Don't specify visible when it's true
- Date: Wed, 12 Sep 2018 11:55:13 +0000 (UTC)
commit 3ad689d354dcda9c30ad2c5608e24ffdd21d7302
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sat Aug 4 09:19:20 2018 +0500
ui: Don't specify visible when it's true
It's true by default in GTK4, so it can be dropped in most cases.
data/ui/application-window.ui | 6 ------
data/ui/checkmark-item.ui | 2 --
data/ui/collection-box.ui | 16 +---------------
data/ui/collection-header-bar.ui | 16 +---------------
data/ui/collection-icon-view.ui | 3 ---
data/ui/developer-list-item.ui | 3 +--
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-configurer.ui | 16 ++--------------
data/ui/gamepad-mapper.ui | 8 +-------
data/ui/gamepad-tester.ui | 2 --
data/ui/keyboard-configurer.ui | 16 ++--------------
data/ui/keyboard-mapper.ui | 8 +-------
data/ui/keyboard-tester.ui | 2 --
data/ui/media-selector.ui | 2 --
data/ui/platform-list-item.ui | 3 +--
data/ui/preferences-page-controllers.ui | 15 +--------------
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-window.ui | 21 +++------------------
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 | 2 --
src/ui/display-box.vala | 1 -
36 files changed, 16 insertions(+), 221 deletions(-)
---
diff --git a/data/ui/application-window.ui b/data/ui/application-window.ui
index 3985ac86..9042255e 100644
--- a/data/ui/application-window.ui
+++ b/data/ui/application-window.ui
@@ -22,10 +22,8 @@
</child>
<child>
<object class="GtkStack" id="content_box">
- <property name="visible">True</property>
<child>
<object class="GamesCollectionBox" id="collection_box">
- <property name="visible">True</property>
<signal name="game-activated" handler="on_game_activated"/>
</object>
<packing>
@@ -34,7 +32,6 @@
</child>
<child>
<object class="GamesDisplayBox" id="display_box">
- <property name="visible">True</property>
<signal name="back" handler="on_display_back"/>
</object>
<packing>
@@ -45,10 +42,8 @@
</child>
<child type="titlebar">
<object class="GtkStack" id="header_bar">
- <property name="visible">True</property>
<child>
<object class="GamesCollectionHeaderBar" id="collection_header_bar">
- <property name="visible">True</property>
<property name="show_title_buttons">True</property>
</object>
<packing>
@@ -57,7 +52,6 @@
</child>
<child>
<object class="GamesDisplayHeaderBar" id="display_header_bar">
- <property name="visible">True</property>
<property name="show_title_buttons">True</property>
<signal name="back" handler="on_display_back"/>
</object>
diff --git a/data/ui/checkmark-item.ui b/data/ui/checkmark-item.ui
index 027c97eb..0b286027 100644
--- a/data/ui/checkmark-item.ui
+++ b/data/ui/checkmark-item.ui
@@ -3,10 +3,8 @@
<template class="GamesCheckmarkItem" parent="GtkBox">
<property name="margin">6</property>
<property name="spacing">12</property>
- <property name="visible">true</property>
<child>
<object class="GtkLabel" id="title_label">
- <property name="visible">true</property>
<property name="vexpand">true</property>
<property name="wrap">true</property>
</object>
diff --git a/data/ui/collection-box.ui b/data/ui/collection-box.ui
index 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 73d13bad..e74542e2 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,20 +69,17 @@
<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>
<object class="GtkSeparator">
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
- <property name="visible">True</property>
</object>
</child>
<child>
@@ -98,7 +87,6 @@
<property name="can_focus">True</property>
<property name="text" translatable="yes">Shortcuts</property>
<property name="action-name">app.shortcuts</property>
- <property name="visible">True</property>
</object>
</child>
<child>
@@ -106,7 +94,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>
@@ -114,7 +101,6 @@
<property name="can_focus">True</property>
<property name="text" translatable="yes">About</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 b80940bb..8a5ff9a0 100644
--- a/data/ui/developer-list-item.ui
+++ b/data/ui/developer-list-item.ui
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesDeveloperListItem" parent="GtkLabel">
- <property name="visible">true</property>
<property name="vexpand">true</property>
<property name="margin">6</property>
<property name="wrap">true</property>
<property name="xalign">0</property>
</template>
-</interface>
\ No newline at end of file
+</interface>
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 8900ffdc..b8d178f9 100644
--- a/data/ui/game-icon-view.ui
+++ b/data/ui/game-icon-view.ui
@@ -2,17 +2,13 @@
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="GamesGameIconView" parent="GtkBox">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="halign">center</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>
@@ -23,7 +19,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-configurer.ui b/data/ui/gamepad-configurer.ui
index 8300da5a..61f0d407 100644
--- a/data/ui/gamepad-configurer.ui
+++ b/data/ui/gamepad-configurer.ui
@@ -1,25 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesGamepadConfigurer" parent="GtkBox">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkStack" id="stack">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<child>
- <object class="GtkBox" id="gamepad_mapper_holder">
- <property name="visible">True</property>
- </object>
+ <object class="GtkBox" id="gamepad_mapper_holder"/>
<packing>
<property name="name">gamepad_mapper</property>
</packing>
</child>
<child>
- <object class="GtkBox" id="gamepad_tester_holder">
- <property name="visible">True</property>
- </object>
+ <object class="GtkBox" id="gamepad_tester_holder"/>
<packing>
<property name="name">gamepad_tester</property>
</packing>
@@ -28,10 +22,8 @@
</child>
<child>
<object class="GtkActionBar" id="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="Gamepad configuration factory
reset">Reset</property>
<signal name="clicked" handler="on_reset_clicked"/>
<style>
@@ -44,7 +36,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>
@@ -59,11 +50,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">
@@ -78,7 +67,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"/>
<style>
diff --git a/data/ui/gamepad-mapper.ui b/data/ui/gamepad-mapper.ui
index 30cc5041..de8ed9f3 100644
--- a/data/ui/gamepad-mapper.ui
+++ b/data/ui/gamepad-mapper.ui
@@ -1,21 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesGamepadMapper" parent="GtkBox">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GamesGamepadView" id="gamepad_view">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
</object>
</child>
<child>
<object class="GtkActionBar" id="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>
@@ -24,9 +20,7 @@
</packing>
</child>
<child type="center">
- <object class="GtkLabel" id="info_message">
- <property name="visible">True</property>
- </object>
+ <object class="GtkLabel" id="info_message"/>
</child>
</object>
</child>
diff --git a/data/ui/gamepad-tester.ui b/data/ui/gamepad-tester.ui
index 314c9140..368005cf 100644
--- a/data/ui/gamepad-tester.ui
+++ b/data/ui/gamepad-tester.ui
@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesGamepadTester" parent="GtkBox">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GamesGamepadView" id="gamepad_view">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
</object>
diff --git a/data/ui/keyboard-configurer.ui b/data/ui/keyboard-configurer.ui
index 288b3d22..399fc6b4 100644
--- a/data/ui/keyboard-configurer.ui
+++ b/data/ui/keyboard-configurer.ui
@@ -1,26 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesKeyboardConfigurer" parent="GtkBox">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkStack" id="stack">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<child>
- <object class="GtkBox" id="keyboard_mapper_holder">
- <property name="visible">True</property>
- </object>
+ <object class="GtkBox" id="keyboard_mapper_holder"/>
<packing>
<property name="name">keyboard_mapper</property>
</packing>
</child>
<child>
- <object class="GtkBox" id="keyboard_tester_holder">
- <property name="visible">True</property>
- </object>
+ <object class="GtkBox" id="keyboard_tester_holder"/>
<packing>
<property name="name">keyboard_tester</property>
</packing>
@@ -29,10 +23,8 @@
</child>
<child>
<object class="GtkActionBar" id="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>
@@ -45,7 +37,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>
@@ -60,11 +51,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">
@@ -79,7 +68,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"/>
<style>
diff --git a/data/ui/keyboard-mapper.ui b/data/ui/keyboard-mapper.ui
index 4fcc5854..fdd3c38a 100644
--- a/data/ui/keyboard-mapper.ui
+++ b/data/ui/keyboard-mapper.ui
@@ -1,21 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesKeyboardMapper" parent="GtkBox">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GamesGamepadView" id="gamepad_view">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
</object>
</child>
<child>
<object class="GtkActionBar" id="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>
@@ -24,9 +20,7 @@
</packing>
</child>
<child type="center">
- <object class="GtkLabel" id="info_message">
- <property name="visible">True</property>
- </object>
+ <object class="GtkLabel" id="info_message"/>
</child>
</object>
</child>
diff --git a/data/ui/keyboard-tester.ui b/data/ui/keyboard-tester.ui
index 3648c41a..46c7db0f 100644
--- a/data/ui/keyboard-tester.ui
+++ b/data/ui/keyboard-tester.ui
@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesKeyboardTester" parent="GtkBox">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GamesGamepadView" id="gamepad_view">
- <property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
</object>
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 3d0d4702..3ccecfd4 100644
--- a/data/ui/platform-list-item.ui
+++ b/data/ui/platform-list-item.ui
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesPlatformListItem" parent="GtkLabel">
- <property name="visible">true</property>
<property name="vexpand">true</property>
<property name="margin">6</property>
<property name="wrap">true</property>
<property name="xalign">0</property>
</template>
-</interface>
\ No newline at end of file
+</interface>
diff --git a/data/ui/preferences-page-controllers.ui b/data/ui/preferences-page-controllers.ui
index bc39e828..689fa0df 100644
--- a/data/ui/preferences-page-controllers.ui
+++ b/data/ui/preferences-page-controllers.ui
@@ -1,32 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GamesPreferencesPageControllers" parent="GtkStack">
- <property name="visible">True</property>
<property name="visible-child">main_stack_child_holder</property>
<property name="transition-type">GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT</property>
<child>
- <object class="GtkBox" id="extra_stack_child_holder">
- <property name="visible">True</property>
- </object>
+ <object class="GtkBox" id="extra_stack_child_holder"/>
<packing>
<property name="name">extra_stack_child</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="main_stack_child_holder">
- <property name="visible">True</property>
<child>
<object class="GtkViewport">
- <property name="visible">True</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>
<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>
@@ -36,11 +29,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>
@@ -49,7 +40,6 @@
</child>
<child>
<object class="GtkLabel">
- <property name="visible">True</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Keyboard</property>
<attributes>
@@ -59,11 +49,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>
@@ -81,7 +69,6 @@
</child>
</template>
<object class="GtkHeaderBar" id="default_header_bar">
- <property name="visible">True</property>
<property name="expand">True</property>
<property name="title" translatable="yes">Controllers</property>
</object>
diff --git a/data/ui/preferences-page-plugins-item.ui b/data/ui/preferences-page-plugins-item.ui
index 7bb477e3..7761d7ee 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>
<style>
<class name="dim-label" />
diff --git a/data/ui/preferences-page-plugins.ui b/data/ui/preferences-page-plugins.ui
index e135a45e..fd06c64c 100644
--- a/data/ui/preferences-page-plugins.ui
+++ b/data/ui/preferences-page-plugins.ui
@@ -2,27 +2,21 @@
<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>
<child>
<object class="GtkViewport">
- <property name="visible">true</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>
<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>
@@ -35,7 +29,6 @@
</child>
</template>
<object class="GtkHeaderBar" id="header_bar">
- <property name="visible">True</property>
<property name="expand">True</property>
<property name="title" translatable="yes">Extensions</property>
</object>
diff --git a/data/ui/preferences-page-video.ui b/data/ui/preferences-page-video.ui
index 3f0c038e..2e5db4d5 100644
--- a/data/ui/preferences-page-video.ui
+++ b/data/ui/preferences-page-video.ui
@@ -1,22 +1,17 @@
<?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>
<child>
<object class="GtkViewport">
- <property name="visible">True</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>
<child>
<object class="GtkLabel">
- <property name="visible">True</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Filter</property>
<attributes>
@@ -26,11 +21,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>
@@ -45,7 +38,6 @@
</child>
</template>
<object class="GtkHeaderBar" id="header_bar">
- <property name="visible">True</property>
<property name="expand">True</property>
<property name="title" translatable="yes">Video</property>
</object>
diff --git a/data/ui/preferences-window.ui b/data/ui/preferences-window.ui
index fdf2ccbe..2d88196a 100644
--- a/data/ui/preferences-window.ui
+++ b/data/ui/preferences-window.ui
@@ -2,18 +2,15 @@
<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_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>
@@ -22,24 +19,20 @@
<child>
<object class="GtkSeparator" id="header_separator">
<property name="orientation">vertical</property>
- <property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="hbox1">
- <property name="visible">True</property>
<child>
<object class="GtkBox" id="sidebar_vbox">
<property name="orientation">vertical</property>
- <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" />
@@ -51,37 +44,29 @@
<child>
<object class="GtkSeparator" id="separator">
<property name="orientation">vertical</property>
- <property name="visible">True</property>
</object>
</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 061eefbb..25cee8bc 100644
--- a/src/ui/collection-icon-view.vala
+++ b/src/ui/collection-icon-view.vala
@@ -214,9 +214,7 @@ private class Games.CollectionIconView : Gtk.Bin {
var game_view = new GameIconView (game);
var child = new Gtk.FlowBoxChild ();
- game_view.visible = true;
game_view.size = game_view_size;
- 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]