[gnome-music/wip/jfelder/gtk4-v3: 45/145] ui/PlaylistControls: Fix GtkButton icon




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

    ui/PlaylistControls: Fix GtkButton icon

 data/ui/PlaylistControls.ui | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
---
diff --git a/data/ui/PlaylistControls.ui b/data/ui/PlaylistControls.ui
index 87d9609c7..56d105dc5 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,7 +129,7 @@
             <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"/>


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