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




commit cd43075ffd5599d29a79705177dcab5e292fa505
Author: Jean Felder <jfelder src gnome org>
Date:   Sun Jan 9 00:08:38 2022 +0100

    ui/AlbumWidget: Fix GtkButton icon

 data/ui/AlbumWidget.ui | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
---
diff --git a/data/ui/AlbumWidget.ui b/data/ui/AlbumWidget.ui
index 8eb670494..c7d21d425 100644
--- a/data/ui/AlbumWidget.ui
+++ b/data/ui/AlbumWidget.ui
@@ -100,8 +100,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"/>
@@ -123,7 +122,7 @@
                             <property name="menu-model">album_menu</property>
                             <property name="direction">none</property>
                             <property name="use_popover">True</property>
-                            <property name="image">_view_more_image</property>
+                            <property name="icon_name">view-more-symbolic</property>
                             <style>
                               <class name="image-button"/>
                               <class name="circular"/>
@@ -149,18 +148,6 @@
       </object>
     </child>
   </template>
-  <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>
   <menu id="album_menu">
     <item>
       <attribute name="label" translatable="yes">_Play</attribute>


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