[sysprof/wip/gtk4-port: 102/132] environeditorrow: simplify packing




commit 8a9c0c3445c2fef7a0e6e34db6c14039172ca3be
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 1 13:29:22 2021 -0700

    environeditorrow: simplify packing

 src/libsysprof-ui/sysprof-environ-editor-row.ui | 50 +++----------------------
 1 file changed, 5 insertions(+), 45 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-environ-editor-row.ui b/src/libsysprof-ui/sysprof-environ-editor-row.ui
index 4467a44f..8735f770 100644
--- a/src/libsysprof-ui/sysprof-environ-editor-row.ui
+++ b/src/libsysprof-ui/sysprof-environ-editor-row.ui
@@ -1,78 +1,38 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.0 -->
 <interface>
-  <requires lib="gtk+" version="3.10"/>
   <template class="SysprofEnvironEditorRow" parent="GtkListBoxRow">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkBox">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <property name="spacing">12</property>
         <child>
           <object class="GtkEntry" id="key_entry">
-            <property name="visible">True</property>
-            <property name="can_focus">True</property>
-            <property name="margin_start">3</property>
-            <property name="has_frame">False</property>
+            <property name="margin-start">3</property>
+            <property name="has-frame">False</property>
           </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">0</property>
-          </packing>
         </child>
         <child>
           <object class="GtkLabel" id="eq_label">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <property name="label">=</property>
             <style>
               <class name="dim-label"/>
             </style>
           </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">1</property>
-          </packing>
         </child>
         <child>
           <object class="GtkEntry" id="value_entry">
-            <property name="visible">True</property>
-            <property name="can_focus">True</property>
             <property name="hexpand">True</property>
-            <property name="has_frame">False</property>
+            <property name="has-frame">False</property>
           </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">2</property>
-          </packing>
         </child>
         <child>
           <object class="GtkButton" id="delete_button">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="receives_default">False</property>
-            <property name="tooltip_text" translatable="yes">Remove environment variable</property>
-            <child>
-              <object class="GtkImage">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="icon_name">list-remove-symbolic</property>
-              </object>
-            </child>
+            <property name="tooltip-text" translatable="yes">Remove environment variable</property>
+            <property name="icon-name">list-remove-symbolic</property>
             <style>
               <class name="image-button"/>
               <class name="flat"/>
             </style>
           </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">3</property>
-          </packing>
         </child>
       </object>
     </child>


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