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




commit 03e1120c3ee6a6fb5fe9f60e739af4b989f3829d
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]