[gnome-music/wip/mschraal/gtk4-v3: 59/192] ui/PlaylistControls: Fix GtkButton icon




commit 6e9606551e1a6c4a052ff00f74fa9c283862cb29
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Apr 12 00:12:32 2021 +0200

    ui/PlaylistControls: Fix GtkButton icon

 data/ui/PlaylistControls.ui | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)
---
diff --git a/data/ui/PlaylistControls.ui b/data/ui/PlaylistControls.ui
index 87d9609c7..7d0ba4765 100644
--- a/data/ui/PlaylistControls.ui
+++ b/data/ui/PlaylistControls.ui
@@ -15,18 +15,6 @@
       <attribute name="action">win.playlist_rename</attribute>
     </item>
   </menu>
-  <object class="GtkImage" id="_view_more_image">
-    <property name="visible">True</property>
-    <property name="can_focus">False</property>
-    <property name="icon_name">view-more-symbolic</property>
-    <property name="icon_size">4</property>
-  </object>
-  <object class="GtkImage" id="_play_image">
-    <property name="visible">True</property>
-    <property name="can_focus">False</property>
-    <property name="icon_name">media-playback-start-symbolic</property>
-    <property name="icon_size">4</property>
-  </object>
   <template class="PlaylistControls" parent="GtkBox">
     <property name="orientation">vertical</property>
     <property name="visible">True</property>
@@ -120,8 +108,7 @@
             <property name="visible">True</property>
             <property name="can-focus">True</property>
             <property name="receives-default">True</property>
-            <property name="image">_play_image</property>
-            <property name="always_show_image">True</property>
+            <property name="icon_name">media-playback-start-symbolic</property>
             <property name="tooltip-text" translatable="yes">Play</property>
             <property name="valign">center</property>
             <signal name="clicked" handler="_on_play_button_clicked" swapped="no"/>
@@ -142,9 +129,8 @@
             <property name="focus_on_click">False</property>
             <property name="menu-model">playlistMenu</property>
             <property name="direction">none</property>
-            <property name="image">_view_more_image</property>
+            <property name="icon_name">view-more-symbolic</property>
             <style>
-              <class name="image-button"/>
               <class name="circular"/>
             </style>
           </object>


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