[nautilus/wip/cdavis/post-port-cleanups: 24/25] toolbar: Use GtkButton:icon-name where applicable
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/cdavis/post-port-cleanups: 24/25] toolbar: Use GtkButton:icon-name where applicable
- Date: Sat, 16 Jul 2022 13:40:17 +0000 (UTC)
commit 84699cf8b95d5cee6a15b130c349528fd5f44719
Author: Christopher Davis <christopherdavis gnome org>
Date: Sat Jul 16 09:29:35 2022 -0400
toolbar: Use GtkButton:icon-name where applicable
src/resources/ui/nautilus-toolbar.ui | 40 ++++--------------------------------
1 file changed, 4 insertions(+), 36 deletions(-)
---
diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui
index b91da2ade..b2b5632dc 100644
--- a/src/resources/ui/nautilus-toolbar.ui
+++ b/src/resources/ui/nautilus-toolbar.ui
@@ -155,15 +155,7 @@
<property name="halign">center</property>
<property name="valign">center</property>
<property name="action_name">slot.search-visible</property>
- <child>
- <object class="GtkImage" id="search_icon">
- <property name="icon_name">edit-find-symbolic</property>
- <property name="icon_size">1</property>
- </object>
- </child>
- <style>
- <class name="image-button"/>
- </style>
+ <property name="icon_name">edit-find-symbolic</property>
</object>
</child>
</object>
@@ -182,15 +174,7 @@
<property name="halign">center</property>
<property name="valign">center</property>
<property name="action_name">win.back</property>
- <child>
- <object class="GtkImage" id="back_icon">
- <property name="icon_name">go-previous-symbolic</property>
- <property name="icon_size">1</property>
- </object>
- </child>
- <style>
- <class name="image-button"/>
- </style>
+ <property name="icon_name">go-previous-symbolic</property>
</object>
</child>
<child type="start">
@@ -199,15 +183,7 @@
<property name="halign">center</property>
<property name="valign">center</property>
<property name="action_name">win.forward</property>
- <child>
- <object class="GtkImage" id="forward_icon">
- <property name="icon_name">go-next-symbolic</property>
- <property name="icon_size">1</property>
- </object>
- </child>
- <style>
- <class name="image-button"/>
- </style>
+ <property name="icon_name">go-next-symbolic</property>
</object>
</child>
<child type="start">
@@ -221,6 +197,7 @@
<object class="GtkMenuButton" id="app_button">
<property name="halign">center</property>
<property name="valign">center</property>
+ <property name="icon_name">open-menu-symbolic</property>
<property name="popover">
<object class="GtkPopoverMenu">
<property name="menu-model">app_menu</property>
@@ -246,15 +223,6 @@
</child>
</object>
</property>
- <child>
- <object class="GtkImage">
- <property name="icon_name">open-menu-symbolic</property>
- <property name="icon_size">1</property>
- </object>
- </child>
- <style>
- <class name="image-button"/>
- </style>
</object>
</child>
<child type="end">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]