[gnome-music/wip/mschraal/gtk4: 18/65] SearchHeaderBar.ui: Cleanup



commit 4433f46546d79604359d411b3f77fc30c962d82c
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 13:50:33 2019 +0100

    SearchHeaderBar.ui: Cleanup

 data/ui/SearchHeaderBar.ui | 38 +++++++-------------------------------
 1 file changed, 7 insertions(+), 31 deletions(-)
---
diff --git a/data/ui/SearchHeaderBar.ui b/data/ui/SearchHeaderBar.ui
index b894dbf2..ce487cc4 100644
--- a/data/ui/SearchHeaderBar.ui
+++ b/data/ui/SearchHeaderBar.ui
@@ -1,82 +1,58 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
-  <!-- interface-requires gtk+ 3.10 -->
   <template class="SearchHeaderBar" parent="GtkHeaderBar">
-    <property name="visible">True</property>
     <property name="vexpand">False</property>
     <style>
       <class name="titlebar"/>
     </style>
     <child>
       <object class="GtkToggleButton" id="_select_button">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <property name="valign">center</property>
-        <property name="sensitive">True</property>
         <property name="tooltip_text" translatable="yes">Select</property>
         <style>
           <class name="image-button"/>
         </style>
         <child>
           <object class="GtkImage" id="_select_button_image">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <property name="icon-name">object-select-symbolic</property>
             <property name="icon-size">1</property>
           </object>
         </child>
       </object>
-      <packing>
-        <property name="pack_type">end</property>
-      </packing>
     </child>
     <child>
       <object class="GtkButton" id="_cancel_button">
-        <property name="visible">False</property>
-        <property name="no_show_all">True</property>
-        <property name="can_focus">False</property>
+        <property name="visible">0</property>
         <property name="label" translatable="yes">_Cancel</property>
-        <property name="use_underline">True</property>
+        <property name="use_underline">1</property>
         <property name="valign">center</property>
-        <property name="sensitive">True</property>
         <signal name="clicked" handler="_on_cancel_button_clicked" swapped="no"/>
         <style>
           <class name="text-button"/>
         </style>
       </object>
-      <packing>
-        <property name="pack_type">end</property>
-      </packing>
     </child>
     <child>
       <object class="GtkToggleButton" id="_search_button">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <property name="valign">center</property>
-        <property name="sensitive">True</property>
         <property name="tooltip_text" translatable="yes">Search</property>
         <style>
           <class name="image-button"/>
         </style>
         <child>
           <object class="GtkImage" id="_search_button_image">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <property name="icon-name">edit-find-symbolic</property>
             <property name="icon-size">1</property>
           </object>
         </child>
       </object>
-      <packing>
-        <property name="pack_type">end</property>
-      </packing>
     </child>
   </template>
   <object class="GtkSizeGroup" id="size1">
-      <property name="mode">vertical</property>
-      <widgets>
-        <widget name="_search_button"/>
-        <widget name="_cancel_button"/>
-      </widgets>
+    <property name="mode">vertical</property>
+    <widgets>
+      <widget name="_search_button"/>
+      <widget name="_cancel_button"/>
+    </widgets>
   </object>
 </interface>


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