[gnome-system-monitor] data/interface: Use icon names instead of GtkImage in GtkButton



commit 475e6f9a4b89d77245b24d581fdef02cbfe821ee
Author: Ondřej Míchal <harrymichal seznam cz>
Date:   Wed Apr 27 20:20:09 2022 +0300

    data/interface: Use icon names instead of GtkImage in GtkButton

 data/interface.ui | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/data/interface.ui b/data/interface.ui
index 0e611d2b..ea81fe71 100644
--- a/data/interface.ui
+++ b/data/interface.ui
@@ -74,18 +74,12 @@
                     <property name="active">False</property>
                     <property name="valign">center</property>
                     <property name="margin-start">6</property>
+                    <property name="icon-name">edit-find-symbolic</property>
                     <property name="action-name">win.search</property>
                     <property name="action-target">@b false</property>
                     <style>
                       <class name="title-button"/>
                     </style>
-                    <child>
-                      <object class="GtkImage" id="search_image">
-                        <property name="visible">True</property>
-                        <property name="icon-size">1</property>
-                        <property name="icon-name">edit-find-symbolic</property>
-                      </object>
-                    </child>
                   </object>
                   <packing>
                     <property name="pack-type">end</property>
@@ -175,13 +169,7 @@
                             <property name="visible">True</property>
                             <property name="tooltip-text" translatable="yes">Show process 
properties</property>
                             <property name="action-name">win.process-properties</property>
-                            <child>
-                              <object class="GtkImage" id="proc_properties_image">
-                                <property name="visible">True</property>
-                                <property name="icon-size">1</property>
-                                <property name="icon-name">document-properties-symbolic</property>
-                              </object>
-                            </child>
+                            <property name="icon-name">document-properties-symbolic</property>
                           </object>
                           <packing>
                             <property name="pack-type">end</property>


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