[gnome-music/wip/jfelder/gtk4-v3: 54/119] ui/AlbumWidget: Fix GtkButton icon
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 54/119] ui/AlbumWidget: Fix GtkButton icon
- Date: Thu, 3 Feb 2022 04:51:44 +0000 (UTC)
commit 5be13cc80fe1bac085c53f3e9af999063557cb31
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 4c090857f..514b5dc24 100644
--- a/data/ui/AlbumWidget.ui
+++ b/data/ui/AlbumWidget.ui
@@ -102,8 +102,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"/>
@@ -125,7 +124,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"/>
@@ -151,18 +150,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]