[krb5-auth-dialog] dialog: Drop superfluous GtkBoxes



commit 20a65bedb3827707020753f22ff02b58dd0b5e79
Author: Guido Günther <agx sigxcpu org>
Date:   Thu Oct 13 11:30:15 2022 +0200

    dialog: Drop superfluous GtkBoxes

 src/resources/ui/ka-pwdialog.ui | 36 ++++++++++++------------------------
 1 file changed, 12 insertions(+), 24 deletions(-)
---
diff --git a/src/resources/ui/ka-pwdialog.ui b/src/resources/ui/ka-pwdialog.ui
index f44101b..224c4a8 100644
--- a/src/resources/ui/ka-pwdialog.ui
+++ b/src/resources/ui/ka-pwdialog.ui
@@ -47,17 +47,11 @@
                 <property name="spacing">12</property>
                 <property name="margin-bottom">10</property>
                 <child>
-                  <object class="GtkBox">
+                  <object class="GtkLabel" id="krb_label">
                     <property name="visible">True</property>
-                    <property name="orientation">vertical</property>
-                    <child>
-                      <object class="GtkLabel" id="krb_label">
-                        <property name="visible">True</property>
-                        <property name="xalign">0</property>
-                        <property name="use_markup">True</property>
-                        <property name="wrap">True</property>
-                      </object>
-                    </child>
+                    <property name="xalign">0</property>
+                    <property name="use_markup">True</property>
+                    <property name="wrap">True</property>
                   </object>
                 </child>
                 <child>
@@ -66,21 +60,15 @@
                     <property name="orientation">vertical</property>
                     <property name="spacing">3</property>
                     <child>
-                      <object class="GtkBox">
+                      <object class="GtkEntry" id="pw_entry">
                         <property name="visible">True</property>
-                        <property name="spacing">3</property>
-                        <child>
-                          <object class="GtkEntry" id="pw_entry">
-                            <property name="visible">True</property>
-                            <property name="activates-default">True</property>
-                            <property name="visibility">False</property>
-                            <property name="invisible-char">●</property>
-                            <property name="input-purpose">password</property>
-                            <property name="buffer">pw_entry_buffer</property>
-                            <property name="has-focus">True</property>
-                            <property name="hexpand">True</property>
-                          </object>
-                        </child>
+                        <property name="activates-default">True</property>
+                        <property name="visibility">False</property>
+                        <property name="invisible-char">●</property>
+                        <property name="input-purpose">password</property>
+                        <property name="buffer">pw_entry_buffer</property>
+                        <property name="has-focus">True</property>
+                        <property name="hexpand">True</property>
                       </object>
                     </child>
                     <child>


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