[gnome-music/wip/mschraal/gtk4-v3: 156/187] ui/headerbar: Use icon-name property for buttons
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v3: 156/187] ui/headerbar: Use icon-name property for buttons
- Date: Thu, 10 Feb 2022 10:42:29 +0000 (UTC)
commit d16c32ef0acf5f5abfb2ab35f56d768273a59ff4
Author: Jean Felder <jfelder src gnome org>
Date: Fri Feb 4 05:13:16 2022 +0100
ui/headerbar: Use icon-name property for buttons
data/ui/HeaderBar.ui | 44 ++++----------------------------------------
1 file changed, 4 insertions(+), 40 deletions(-)
---
diff --git a/data/ui/HeaderBar.ui b/data/ui/HeaderBar.ui
index acd7ef32f..1decc5e5d 100644
--- a/data/ui/HeaderBar.ui
+++ b/data/ui/HeaderBar.ui
@@ -13,17 +13,8 @@
<property name="focusable">False</property>
<property name="valign">center</property>
<property name="sensitive">True</property>
+ <property name="icon-name">open-menu-symbolic</property>
<property name="tooltip_text" translatable="yes">Menu</property>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage" id="_menu_button_image">
- <property name="focusable">False</property>
- <property name="icon-name">open-menu-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
</object>
</child>
<child type="end">
@@ -31,17 +22,8 @@
<property name="focusable">False</property>
<property name="valign">center</property>
<property name="sensitive">True</property>
+ <property name="icon-name">object-select-symbolic</property>
<property name="tooltip_text" translatable="yes">Select</property>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage" id="_select_button_image">
- <property name="focusable">False</property>
- <property name="icon-name">object-select-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
</object>
</child>
<child type="end">
@@ -63,17 +45,8 @@
<property name="focusable">False</property>
<property name="valign">center</property>
<property name="sensitive">True</property>
+ <property name="icon-name">edit-find-symbolic</property>
<property name="tooltip_text" translatable="yes">Search</property>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage" id="_search_button_image">
- <property name="focusable">False</property>
- <property name="icon-name">edit-find-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
</object>
</child>
<child type="start">
@@ -81,18 +54,9 @@
<property name="focusable">False</property>
<property name="valign">center</property>
<property name="sensitive">True</property>
+ <property name="icon-name">go-previous-symbolic</property>
<property name="tooltip_text" translatable="yes">Back</property>
<signal name="clicked" handler="_on_back_button_clicked" swapped="no"/>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage" id="_back_button_image">
- <property name="focusable">False</property>
- <property name="icon-name">go-previous-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]