[gnome-games] ui: Don't specify properties with default values



commit 0ab66b09eb19655aa37c83f3d8b35b19c4e8765e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu Jul 26 22:57:37 2018 +0500

    ui: Don't specify properties with default values

 data/ui/application-window.ui           |  3 ---
 data/ui/checkmark-item.ui               |  2 --
 data/ui/collection-box.ui               | 12 ------------
 data/ui/collection-header-bar.ui        |  3 ---
 data/ui/collection-icon-view.ui         |  4 ----
 data/ui/content-box.ui                  |  1 -
 data/ui/display-box.ui                  |  8 --------
 data/ui/display-header-bar.ui           |  1 -
 data/ui/empty-collection.ui             |  4 ----
 data/ui/error-display.ui                |  4 ----
 data/ui/error-info-bar.ui               |  2 --
 data/ui/game-icon-view.ui               |  1 -
 data/ui/gamepad-configurer.ui           |  5 -----
 data/ui/gamepad-mapper.ui               |  3 ---
 data/ui/gamepad-tester.ui               |  4 ----
 data/ui/keyboard-configurer.ui          |  4 ----
 data/ui/keyboard-mapper.ui              |  3 ---
 data/ui/keyboard-tester.ui              |  4 ----
 data/ui/preferences-page-controllers.ui | 13 -------------
 data/ui/preferences-page-plugins.ui     |  1 -
 data/ui/preferences-page-video.ui       |  7 -------
 data/ui/preferences-window.ui           |  3 ---
 data/ui/search-bar.ui                   |  1 -
 data/ui/sidebar-view.ui                 |  4 ----
 24 files changed, 97 deletions(-)
---
diff --git a/data/ui/application-window.ui b/data/ui/application-window.ui
index 517df9f7..d9a45e99 100644
--- a/data/ui/application-window.ui
+++ b/data/ui/application-window.ui
@@ -3,7 +3,6 @@
 <interface>
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesApplicationWindow" parent="GtkApplicationWindow">
-    <property name="can_focus">False</property>
     <property name="default_width">768</property>
     <property name="default_height">600</property>
     <property name="show_menubar">False</property>
@@ -15,7 +14,6 @@
     <child>
       <object class="GtkStack" id="content_box">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <child>
           <object class="GamesCollectionBox" id="collection_box">
             <property name="visible">True</property>
@@ -39,7 +37,6 @@
     <child type="titlebar">
       <object class="GtkStack" id="header_bar">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <child>
           <object class="GamesCollectionHeaderBar" id="collection_header_bar">
             <property name="visible">True</property>
diff --git a/data/ui/checkmark-item.ui b/data/ui/checkmark-item.ui
index f52f1313..0d6de35a 100644
--- a/data/ui/checkmark-item.ui
+++ b/data/ui/checkmark-item.ui
@@ -1,8 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GamesCheckmarkItem" parent="GtkBox">
-    <property name="vexpand">false</property>
-    <property name="orientation">horizontal</property>
     <property name="margin">6</property>
     <property name="spacing">12</property>
     <property name="visible">true</property>
diff --git a/data/ui/collection-box.ui b/data/ui/collection-box.ui
index 2e80ec69..88b6ad34 100644
--- a/data/ui/collection-box.ui
+++ b/data/ui/collection-box.ui
@@ -4,12 +4,8 @@
   <template class="GamesCollectionBox" parent="GtkBox">
     <property name="visible">True</property>
     <property name="orientation">vertical</property>
-    <property name="spacing">0</property>
-    <property name="halign">fill</property>
-    <property name="valign">fill</property>
     <property name="hexpand">True</property>
     <property name="vexpand">True</property>
-    <property name="can-focus">False</property>
     <child>
       <object class="GamesSearchBar" id="search_bar">
         <property name="visible">True</property>
@@ -19,12 +15,10 @@
     <child>
       <object class="GtkOverlay">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <property name="vexpand">True</property>
         <child>
           <object class="GtkStack" id="viewstack">
             <property name="visible">True</property>
-            <property name="can_focus">False</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"/>
@@ -63,25 +57,21 @@
         <child type="overlay">
           <object class="GtkRevealer" id="loading_notification_revealer">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <property name="halign">center</property>
             <property name="valign">start</property>
             <child>
               <object class="GtkBox">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="spacing">18</property>
                 <child>
                   <object class="GtkSpinner">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
                     <property name="active">True</property>
                   </object>
                 </child>
                 <child>
                   <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
                     <property name="label" translatable="yes">Loading</property>
                   </object>
                 </child>
@@ -89,7 +79,6 @@
                   <object class="GtkButton">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
-                    <property name="receives_default">False</property>
                     <property name="image">close_icon</property>
                     <property name="always_show_image">True</property>
                     <signal name="clicked" handler="on_loading_notification_closed"/>
@@ -110,7 +99,6 @@
   </template>
   <object class="GtkImage" id="close_icon">
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
     <property name="icon_name">window-close-symbolic</property>
   </object>
 </interface>
diff --git a/data/ui/collection-header-bar.ui b/data/ui/collection-header-bar.ui
index 93e53da8..fb158bdb 100644
--- a/data/ui/collection-header-bar.ui
+++ b/data/ui/collection-header-bar.ui
@@ -3,7 +3,6 @@
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesCollectionHeaderBar" parent="GtkHeaderBar">
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkButton" id="add_game">
         <property name="visible">True</property>
@@ -88,7 +87,6 @@
     <property name="visible">True</property>
     <child>
       <object class="GtkBox">
-        <property name="can_focus">False</property>
         <property name="border_width">12</property>
         <property name="orientation">vertical</property>
         <property name="visible">True</property>
@@ -102,7 +100,6 @@
         </child>
         <child>
           <object class="GtkSeparator">
-            <property name="orientation">horizontal</property>
             <property name="margin-top">6</property>
             <property name="margin-bottom">6</property>
             <property name="visible">True</property>
diff --git a/data/ui/collection-icon-view.ui b/data/ui/collection-icon-view.ui
index c3c476e5..e0bdee3b 100644
--- a/data/ui/collection-icon-view.ui
+++ b/data/ui/collection-icon-view.ui
@@ -3,7 +3,6 @@
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesCollectionIconView" parent="GtkStack">
     <property name="visible">True</property>
-    <property name="can-focus">False</property>
     <signal name="size-allocate" after="no" handler="on_size_allocate"/>
     <child>
       <object class="GamesEmptyCollection" id="empty_collection">
@@ -18,9 +17,6 @@
         <property name="visible">True</property>
         <property name="can-focus">True</property>
         <property name="hscrollbar-policy">never</property>
-        <property name="vscrollbar-policy">automatic</property>
-        <property name="kinetic-scrolling">True</property>
-        <property name="overlay-scrolling">True</property>
         <style>
           <class name="content-view"/>
         </style>
diff --git a/data/ui/content-box.ui b/data/ui/content-box.ui
index d7320e74..a689f747 100644
--- a/data/ui/content-box.ui
+++ b/data/ui/content-box.ui
@@ -3,7 +3,6 @@
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesContentBox" parent="GtkStack">
     <property name="visible">True</property>
-    <property name="can-focus">False</property>
     <child>
       <object class="GamesCollectionBox" id="collection_box">
         <property name="visible">True</property>
diff --git a/data/ui/display-box.ui b/data/ui/display-box.ui
index 341447fa..3ec046ab 100644
--- a/data/ui/display-box.ui
+++ b/data/ui/display-box.ui
@@ -3,22 +3,17 @@
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesDisplayBox" parent="GtkEventBox">
     <property name="visible">True</property>
-    <property name="can-focus">False</property>
     <property name="events">GDK_POINTER_MOTION_MASK</property>
     <signal name="notify::is-fullscreen" handler="on_fullscreen_changed"/>
     <signal name="motion-notify-event" handler="on_motion_event"/>
     <child>
       <object class="GtkOverlay" id="overlay">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <child type="overlay">
           <object class="GtkRevealer" id="fullscreen_header_bar_revealer">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="halign">fill</property>
             <property name="valign">start</property>
             <property name="hexpand">True</property>
-            <property name="vexpand">False</property>
             <property name="transition-type">slide-down</property>
             <property name="events">GDK_POINTER_MOTION_MASK</property>
             <signal name="notify::is-fullscreen" handler="on_fullscreen_changed"/>
@@ -35,11 +30,9 @@
         <child>
           <object class="GtkStack" id="stack">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <child>
               <object class="GamesErrorDisplay" id="error_display">
                 <property name="visible">True</property>
-                <property name="can-focus">False</property>
               </object>
               <packing>
                 <property name="name">error</property>
@@ -48,7 +41,6 @@
             <child>
               <object class="GtkEventBox" id="display_bin">
                 <property name="visible">True</property>
-                <property name="can-focus">False</property>
               </object>
               <packing>
                 <property name="name">display</property>
diff --git a/data/ui/display-header-bar.ui b/data/ui/display-header-bar.ui
index aae8f8da..972bf0dc 100644
--- a/data/ui/display-header-bar.ui
+++ b/data/ui/display-header-bar.ui
@@ -3,7 +3,6 @@
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesDisplayHeaderBar" parent="GtkHeaderBar">
     <property name="visible">True</property>
-    <property name="can_focus">False</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"/>
diff --git a/data/ui/empty-collection.ui b/data/ui/empty-collection.ui
index eba0012d..4b1ed78c 100644
--- a/data/ui/empty-collection.ui
+++ b/data/ui/empty-collection.ui
@@ -4,13 +4,11 @@
   <template class="GamesEmptyCollection" parent="GtkBox">
     <property name="visible">True</property>
     <property name="orientation">vertical</property>
-    <property name="can_focus">False</property>
     <property name="halign">center</property>
     <property name="valign">center</property>
     <child>
       <object class="GtkImage" id="icon">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <property name="valign">center</property>
         <property name="pixel_size">128</property>
         <property name="icon-size">0</property>
@@ -28,7 +26,6 @@
           <object class="GtkLabel" id="label">
             <property name="visible">True</property>
             <property name="opacity">0.5</property>
-            <property name="can_focus">False</property>
             <property name="label" translatable="yes">No games found</property>
             <property name="halign">center</property>
             <property name="xalign">0</property>
@@ -43,7 +40,6 @@
           <object class="GtkLabel" id="empty-state-label">
             <property name="visible">True</property>
             <property name="opacity">0.5</property>
-            <property name="can_focus">False</property>
             <property name="label" translatable="yes">Install games or add directories containing games to 
your search sources.</property>
             <property name="justify">left</property>
             <property name="use_markup">true</property>
diff --git a/data/ui/error-display.ui b/data/ui/error-display.ui
index 3c0ffe08..42c7e0ca 100644
--- a/data/ui/error-display.ui
+++ b/data/ui/error-display.ui
@@ -4,13 +4,11 @@
   <template class="GamesErrorDisplay" parent="GtkBox">
     <property name="visible">True</property>
     <property name="orientation">vertical</property>
-    <property name="can_focus">False</property>
     <property name="halign">center</property>
     <property name="valign">center</property>
     <child>
       <object class="GtkImage" id="icon">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <property name="valign">center</property>
         <property name="pixel_size">128</property>
         <property name="icon_name">face-uncertain-symbolic</property>
@@ -30,7 +28,6 @@
           <object class="GtkLabel" id="primary_label">
             <property name="visible">True</property>
             <property name="opacity">0.5</property>
-            <property name="can_focus">False</property>
             <property name="halign">center</property>
             <property name="valign">center</property>
             <property name="use-markup">True</property>
@@ -39,7 +36,6 @@
         <child>
           <object class="GtkLabel" id="secondary_label">
             <property name="visible">True</property>
-            <property name="can_focus">False</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 f95ee739..78e44f09 100644
--- a/data/ui/error-info-bar.ui
+++ b/data/ui/error-info-bar.ui
@@ -5,8 +5,6 @@
     <property name="visible">True</property>
     <property name="halign">center</property>
     <property name="valign">start</property>
-    <property name="hexpand">False</property>
-    <property name="vexpand">False</property>
     <property name="show-close-button">True</property>
     <property name="message-type">error</property>
     <child internal-child="content_area">
diff --git a/data/ui/game-icon-view.ui b/data/ui/game-icon-view.ui
index f919ffbf..8900ffdc 100644
--- a/data/ui/game-icon-view.ui
+++ b/data/ui/game-icon-view.ui
@@ -3,7 +3,6 @@
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesGameIconView" parent="GtkBox">
     <property name="visible">True</property>
-    <property name="can-focus">False</property>
     <property name="orientation">vertical</property>
     <property name="halign">center</property>
     <child>
diff --git a/data/ui/gamepad-configurer.ui b/data/ui/gamepad-configurer.ui
index 0ce5cd00..b4ce0a00 100644
--- a/data/ui/gamepad-configurer.ui
+++ b/data/ui/gamepad-configurer.ui
@@ -2,19 +2,15 @@
 <interface>
   <template class="GamesGamepadConfigurer" parent="GtkBox">
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
     <property name="orientation">vertical</property>
     <child>
       <object class="GtkStack" id="stack">
         <property name="visible">True</property>
-        <property name="halign">fill</property>
-        <property name="valign">fill</property>
         <property name="hexpand">True</property>
         <property name="vexpand">True</property>
         <child>
           <object class="GtkBox" id="gamepad_mapper_holder">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
           </object>
           <packing>
             <property name="name">gamepad_mapper</property>
@@ -23,7 +19,6 @@
         <child>
           <object class="GtkBox" id="gamepad_tester_holder">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
           </object>
           <packing>
             <property name="name">gamepad_tester</property>
diff --git a/data/ui/gamepad-mapper.ui b/data/ui/gamepad-mapper.ui
index ed0e5fa5..30cc5041 100644
--- a/data/ui/gamepad-mapper.ui
+++ b/data/ui/gamepad-mapper.ui
@@ -2,13 +2,10 @@
 <interface>
   <template class="GamesGamepadMapper" parent="GtkBox">
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
     <property name="orientation">vertical</property>
     <child>
       <object class="GamesGamepadView" id="gamepad_view">
         <property name="visible">True</property>
-        <property name="halign">fill</property>
-        <property name="valign">fill</property>
         <property name="hexpand">True</property>
         <property name="vexpand">True</property>
       </object>
diff --git a/data/ui/gamepad-tester.ui b/data/ui/gamepad-tester.ui
index dc84e66c..314c9140 100644
--- a/data/ui/gamepad-tester.ui
+++ b/data/ui/gamepad-tester.ui
@@ -2,14 +2,10 @@
 <interface>
   <template class="GamesGamepadTester" parent="GtkBox">
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
     <property name="orientation">vertical</property>
     <child>
       <object class="GamesGamepadView" id="gamepad_view">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="halign">fill</property>
-        <property name="valign">fill</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 734dc18a..4648cac0 100644
--- a/data/ui/keyboard-configurer.ui
+++ b/data/ui/keyboard-configurer.ui
@@ -7,14 +7,11 @@
     <child>
       <object class="GtkStack" id="stack">
         <property name="visible">True</property>
-        <property name="halign">fill</property>
-        <property name="valign">fill</property>
         <property name="hexpand">True</property>
         <property name="vexpand">True</property>
         <child>
           <object class="GtkBox" id="keyboard_mapper_holder">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
           </object>
           <packing>
             <property name="name">keyboard_mapper</property>
@@ -23,7 +20,6 @@
         <child>
           <object class="GtkBox" id="keyboard_tester_holder">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
           </object>
           <packing>
             <property name="name">keyboard_tester</property>
diff --git a/data/ui/keyboard-mapper.ui b/data/ui/keyboard-mapper.ui
index 9f831619..4fcc5854 100644
--- a/data/ui/keyboard-mapper.ui
+++ b/data/ui/keyboard-mapper.ui
@@ -2,13 +2,10 @@
 <interface>
   <template class="GamesKeyboardMapper" parent="GtkBox">
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
     <property name="orientation">vertical</property>
     <child>
       <object class="GamesGamepadView" id="gamepad_view">
         <property name="visible">True</property>
-        <property name="halign">fill</property>
-        <property name="valign">fill</property>
         <property name="hexpand">True</property>
         <property name="vexpand">True</property>
       </object>
diff --git a/data/ui/keyboard-tester.ui b/data/ui/keyboard-tester.ui
index 4320ee7d..3648c41a 100644
--- a/data/ui/keyboard-tester.ui
+++ b/data/ui/keyboard-tester.ui
@@ -2,14 +2,10 @@
 <interface>
   <template class="GamesKeyboardTester" parent="GtkBox">
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
     <property name="orientation">vertical</property>
     <child>
       <object class="GamesGamepadView" id="gamepad_view">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="halign">fill</property>
-        <property name="valign">fill</property>
         <property name="hexpand">True</property>
         <property name="vexpand">True</property>
       </object>
diff --git a/data/ui/preferences-page-controllers.ui b/data/ui/preferences-page-controllers.ui
index 57631d8d..bc39e828 100644
--- a/data/ui/preferences-page-controllers.ui
+++ b/data/ui/preferences-page-controllers.ui
@@ -2,13 +2,11 @@
 <interface>
   <template class="GamesPreferencesPageControllers" parent="GtkStack">
     <property name="visible">True</property>
-    <property name="can_focus">False</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>
-        <property name="can_focus">False</property>
       </object>
       <packing>
         <property name="name">extra_stack_child</property>
@@ -17,15 +15,12 @@
     <child>
       <object class="GtkScrolledWindow" id="main_stack_child_holder">
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
         <child>
           <object class="GtkViewport">
-            <property name="can_focus">False</property>
             <property name="visible">True</property>
             <child>
               <object class="GtkBox">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="orientation">vertical</property>
                 <property name="margin">12</property>
                 <property name="spacing">12</property>
@@ -42,14 +37,10 @@
                 <child>
                   <object class="GtkFrame" id="gamepads_frame">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="valign">start</property>
-                    <property name="hexpand">True</property>
                     <property name="shadow_type">in</property>
                     <child>
                       <object class="GtkListBox" id="gamepads_list_box">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
                         <property name="selection_mode">none</property>
                         <signal name="row-activated" handler="gamepads_list_box_row_activated"/>
                       </object>
@@ -69,14 +60,10 @@
                 <child>
                   <object class="GtkFrame">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="valign">start</property>
-                    <property name="hexpand">True</property>
                     <property name="shadow_type">in</property>
                     <child>
                       <object class="GtkListBox" id="keyboard_list_box">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</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.ui b/data/ui/preferences-page-plugins.ui
index 2ae43ef8..e135a45e 100644
--- a/data/ui/preferences-page-plugins.ui
+++ b/data/ui/preferences-page-plugins.ui
@@ -12,7 +12,6 @@
             <child>
               <object class="GtkBox">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="orientation">vertical</property>
                 <property name="margin">12</property>
                 <property name="spacing">12</property>
diff --git a/data/ui/preferences-page-video.ui b/data/ui/preferences-page-video.ui
index a916863f..3f0c038e 100644
--- a/data/ui/preferences-page-video.ui
+++ b/data/ui/preferences-page-video.ui
@@ -2,19 +2,15 @@
 <interface>
   <template class="GamesPreferencesPageVideo" parent="GtkBin">
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkScrolledWindow">
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
         <child>
           <object class="GtkViewport">
-            <property name="can_focus">False</property>
             <property name="visible">True</property>
             <child>
               <object class="GtkBox">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="orientation">vertical</property>
                 <property name="margin">12</property>
                 <property name="spacing">12</property>
@@ -31,13 +27,10 @@
                 <child>
                   <object class="GtkFrame">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="valign">start</property>
                     <property name="shadow_type">in</property>
                     <child>
                       <object class="GtkListBox" id="filter_list_box">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
                         <property name="selection_mode">none</property>
                         <signal name="row-activated" handler="filter_list_box_row_activated"/>
                       </object>
diff --git a/data/ui/preferences-window.ui b/data/ui/preferences-window.ui
index 382ec24d..94133ea8 100644
--- a/data/ui/preferences-window.ui
+++ b/data/ui/preferences-window.ui
@@ -11,7 +11,6 @@
     <child type="titlebar">
       <object class="GtkBox" id="titlebar_box">
         <property name="visible">True</property>
-        <property name="orientation">horizontal</property>
         <child>
           <object class="GtkHeaderBar" id="left_header_bar">
             <property name="name">left_header_bar</property>
@@ -32,10 +31,8 @@
     <child>
       <object class="GtkBox" id="hbox1">
         <property name="visible">True</property>
-        <property name="orientation">horizontal</property>
         <child>
           <object class="GtkBox" id="sidebar_vbox">
-            <property name="hexpand">false</property>
             <property name="orientation">vertical</property>
             <property name="visible">True</property>
             <child>
diff --git a/data/ui/search-bar.ui b/data/ui/search-bar.ui
index ada601f8..3416d49f 100644
--- a/data/ui/search-bar.ui
+++ b/data/ui/search-bar.ui
@@ -7,7 +7,6 @@
       <object class="GtkSearchEntry" id="entry">
         <property name="visible">True</property>
         <property name="width-chars">40</property>
-        <property name="hexpand">True</property>
         <signal name="search-changed" handler="on_search_changed"/>
         <signal name="activate" handler="on_search_activated"/>
       </object>
diff --git a/data/ui/sidebar-view.ui b/data/ui/sidebar-view.ui
index df5d65ac..125489bf 100644
--- a/data/ui/sidebar-view.ui
+++ b/data/ui/sidebar-view.ui
@@ -3,18 +3,15 @@
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesSidebarView" parent="GtkBox">
     <property name="visible">True</property>
-    <property name="can-focus">False</property>
     <property name="expand">True</property>
     <child>
       <object class="GtkScrolledWindow">
         <property name="visible">True</property>
-        <property name="can-focus">False</property>
         <property name="vexpand">True</property>
         <property name="width_request">250</property>
         <child>
           <object class="GtkListBox" id="list_box">
             <property name="visible">True</property>
-            <property name="can-focus">False</property>
             <signal name="row-activated" handler="on_list_box_row_selected"/>
             <style>
               <class name="sidebar"/>
@@ -26,7 +23,6 @@
     <child>
       <object class="GamesCollectionIconView" id="collection_view">
         <property name="visible">True</property>
-        <property name="can-focus">False</property>
         <property name="expand">True</property>
       </object>
     </child>


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