[gnome-logs] buttons: Use icon-name rather than setting a child
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] buttons: Use icon-name rather than setting a child
- Date: Mon, 28 Mar 2022 16:43:59 +0000 (UTC)
commit 56e45ec8669f149ab983ceae9d5288c3b527efa8
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Mon Oct 11 00:36:13 2021 +0200
buttons: Use icon-name rather than setting a child
data/gl-eventtoolbar.ui | 33 +++------------------------------
1 file changed, 3 insertions(+), 30 deletions(-)
---
diff --git a/data/gl-eventtoolbar.ui b/data/gl-eventtoolbar.ui
index 734ee29..5fa5416 100644
--- a/data/gl-eventtoolbar.ui
+++ b/data/gl-eventtoolbar.ui
@@ -34,16 +34,7 @@
<property name="valign">center</property>
<property name="visible">True</property>
<property name="menu_model">primary-menu</property>
- <style>
- <class name="image-button" />
- </style>
- <child>
- <object class="GtkImage">
- <property name="icon-name">open-menu-symbolic</property>
- <property name="icon-size">1</property>
- <property name="visible">True</property>
- </object>
- </child>
+ <property name="icon-name">open-menu-symbolic</property>
</object>
</child>
<child type="end">
@@ -52,16 +43,7 @@
<property name="tooltip-text" translatable="yes">Export logs to a file</property>
<property name="valign">center</property>
<property name="visible">True</property>
- <style>
- <class name="image-button" />
- </style>
- <child>
- <object class="GtkImage" id="output_icon">
- <property name="icon-name">document-save-symbolic</property>
- <property name="icon-size">1</property>
- <property name="visible">True</property>
- </object>
- </child>
+ <property name="icon-name">document-save-symbolic</property>
</object>
</child>
<child type="title">
@@ -82,16 +64,7 @@
<property name="tooltip-text" translatable="yes">Search all the logs of the current
category</property>
<property name="valign">center</property>
<property name="visible">True</property>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage" id="search_icon">
- <property name="icon-name">edit-find-symbolic</property>
- <property name="icon-size">1</property>
- <property name="visible">True</property>
- </object>
- </child>
+ <property name="icon-name">edit-find-symbolic</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]