[gnome-music/wip/mschraal/gtk4: 25/80] AlbumWidget.ui: Cleanup



commit 39be044c8b02f6531200f62f992b11fca35513ef
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 15:33:44 2019 +0100

    AlbumWidget.ui: Cleanup

 data/ui/AlbumWidget.ui | 117 +++++++++++--------------------------------------
 1 file changed, 26 insertions(+), 91 deletions(-)
---
diff --git a/data/ui/AlbumWidget.ui b/data/ui/AlbumWidget.ui
index 59266108..503d3042 100644
--- a/data/ui/AlbumWidget.ui
+++ b/data/ui/AlbumWidget.ui
@@ -1,32 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.20.0 -->
 <interface>
   <requires lib="gtk+" version="3.12"/>
   <template class="AlbumWidget" parent="GtkBox">
-    <property name="visible">True</property>
     <style>
       <class name="view"/>
       <class name="content-view"/>
     </style>
     <child>
       <object class="GtkBox">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <child>
           <object class="GtkBox" id="albumInfo">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <property name="halign">end</property>
             <property name="margin_start">32</property>
             <property name="margin_end">32</property>
             <property name="margin_top">48</property>
             <property name="margin_bottom">32</property>
-            <property name="vexpand">True</property>
-            <property name="hexpand">True</property>
+            <property name="vexpand">1</property>
+            <property name="hexpand">1</property>
             <child>
               <object class="GtkBox" id="albumDetails">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="halign">center</property>
                 <property name="valign">start</property>
                 <property name="orientation">vertical</property>
@@ -42,22 +34,15 @@
                     <property name="hhomogeneous">False</property>
                     <property name="vhomogeneous">False</property>
                   </object>
-                  <packing>
-                    <property name="position">0</property>
-                  </packing>
                 </child>
                 <child>
                   <object class="GtkBox" id="artistBox">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
                     <property name="halign">center</property>
                     <property name="valign">start</property>
                     <property name="orientation">vertical</property>
                     <property name="spacing">3</property>
                     <child>
                       <object class="GtkLabel" id="_title_label">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
                         <property name="halign">center</property>
                         <property name="justify">center</property>
                         <property name="ellipsize">middle</property>
@@ -65,14 +50,9 @@
                           <class name="title-artist"/>
                         </style>
                       </object>
-                      <packing>
-                        <property name="position">0</property>
-                      </packing>
                     </child>
                     <child>
                       <object class="GtkLabel" id="_artist_label">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
                         <property name="halign">center</property>
                         <property name="justify">center</property>
                         <property name="ellipsize">middle</property>
@@ -81,145 +61,103 @@
                           <class name="dim-label"/>
                         </style>
                       </object>
-                      <packing>
-                        <property name="position">1</property>
-                      </packing>
                     </child>
                   </object>
-                  <packing>
-                    <property name="position">1</property>
-                  </packing>
                 </child>
                 <child>
                   <object class="GtkGrid" id="grid">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
                     <property name="margin_top">21</property>
                     <property name="column_spacing">32</property>
-                    <property name="column_homogeneous">True</property>
+                    <property name="column_homogeneous">1</property>
                     <child>
                       <object class="GtkLabel" id="released_label">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
                         <property name="halign">end</property>
                         <property name="margin_top">2</property>
                         <property name="margin_bottom">2</property>
                         <property name="label" translatable="yes">Released</property>
-                        <property name="use_markup">True</property>
+                        <property name="use_markup">1</property>
                         <style>
                           <class name="dim-label"/>
                         </style>
                       </object>
-                      <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">0</property>
-                      </packing>
                     </child>
                     <child>
                       <object class="GtkLabel" id="running_label">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
                         <property name="halign">end</property>
                         <property name="label" translatable="yes">Running Length</property>
-                        <property name="use_markup">True</property>
+                        <property name="use_markup">1</property>
                         <style>
                           <class name="dim-label"/>
                         </style>
+                        <layout>
+                          <property name="top_attach">1</property>
+                        </layout>
                       </object>
-                      <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">1</property>
-                      </packing>
                     </child>
                     <child>
                       <object class="GtkLabel" id="_released_info_label">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
                         <property name="halign">start</property>
                         <property name="margin_top">2</property>
                         <property name="margin_bottom">2</property>
                         <property name="label">----</property>
+                        <layout>
+                          <property name="left_attach">1</property>
+                        </layout>
                       </object>
-                      <packing>
-                        <property name="left_attach">1</property>
-                        <property name="top_attach">0</property>
-                      </packing>
                     </child>
                     <child>
                       <object class="GtkLabel" id="_running_info_label">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
                         <property name="halign">start</property>
                         <property name="label">--:--</property>
+                        <layout>
+                          <property name="left_attach">1</property>
+                          <property name="top_attach">1</property>
+                        </layout>
                       </object>
-                      <packing>
-                        <property name="left_attach">1</property>
-                        <property name="top_attach">1</property>
-                      </packing>
                     </child>
                     <child>
                       <object class="GtkLabel" id="_composer_label">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="no_show_all">True</property>
                         <property name="halign">end</property>
                         <property name="margin_top">2</property>
                         <property name="margin_bottom">2</property>
                         <property name="label" translatable="yes">Composer</property>
-                        <property name="use_markup">True</property>
+                        <property name="use_markup">1</property>
                         <style>
                           <class name="dim-label"/>
                         </style>
+                        <layout>
+                          <property name="top_attach">2</property>
+                        </layout>
                       </object>
-                      <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">2</property>
-                      </packing>
                     </child>
                     <child>
                       <object class="GtkLabel" id="_composer_info_label">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="no_show_all">True</property>
                         <property name="halign">start</property>
                         <property name="margin_top">2</property>
                         <property name="margin_bottom">2</property>
                         <property name="ellipsize">end</property>
+                        <layout>
+                          <property name="left_attach">1</property>
+                          <property name="top_attach">2</property>
+                        </layout>
                       </object>
-                      <packing>
-                        <property name="left_attach">1</property>
-                        <property name="top_attach">2</property>
-                      </packing>
                     </child>
                   </object>
-                  <packing>
-                    <property name="position">3</property>
-                  </packing>
                 </child>
               </object>
-              <packing>
-                <property name="position">0</property>
-              </packing>
             </child>
           </object>
-          <packing>
-            <property name="position">1</property>
-          </packing>
         </child>
         <child>
           <object class="GtkScrolledWindow" id="scrolledWindow">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="hexpand">True</property>
-            <property name="vexpand">True</property>
+            <property name="hexpand">1</property>
+            <property name="vexpand">1</property>
             <property name="hscrollbar_policy">never</property>
             <child>
               <object class="GtkViewport" id="_viewport">
                 <property name="width_request">600</property>
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="halign">start</property>
-                <property name="hexpand">True</property>
+                <property name="hexpand">1</property>
                 <property name="shadow_type">none</property>
                 <child>
                   <object class="DiscListBox" id="_disc_list_box">
@@ -234,9 +172,6 @@
               </object>
             </child>
           </object>
-          <packing>
-            <property name="position">2</property>
-          </packing>
         </child>
       </object>
     </child>


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