[krb5-auth-dialog] prefs: Use icons for file dialog buttons



commit 92cf3b2dc1ca64aaf6d38e3be92447c384313db3
Author: Guido Günther <agx sigxcpu org>
Date:   Wed Oct 12 20:49:52 2022 +0200

    prefs: Use icons for file dialog buttons
    
    This makes the dialog fit small screen sizes before we redesign it.

 src/resources/ui/ka-preferences.ui | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/src/resources/ui/ka-preferences.ui b/src/resources/ui/ka-preferences.ui
index 41b0185..f602fe8 100644
--- a/src/resources/ui/ka-preferences.ui
+++ b/src/resources/ui/ka-preferences.ui
@@ -480,11 +480,13 @@
                                     </child>
                                     <child>
                                       <object class="GtkButton" id="pkuserid_button">
-                                        <property name="label" translatable="yes">_Browse...</property>
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="receives_default">True</property>
-                                        <property name="use_underline">True</property>
+                                        <child>
+                                          <object class="GtkImage">
+                                            <property name="visible">True</property>
+                                            <property name="icon-name">folder-open-symbolic</property>
+                                          </object>
+                                        </child>
                                       </object>
                                       <packing>
                                         <property name="expand">False</property>
@@ -572,11 +574,13 @@
                         </child>
                         <child>
                           <object class="GtkButton" id="pkanchors_button">
-                            <property name="label" translatable="yes">_Browse...</property>
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="receives_default">True</property>
-                            <property name="use_underline">True</property>
+                            <child>
+                              <object class="GtkImage">
+                                <property name="visible">True</property>
+                                <property name="icon-name">folder-open-symbolic</property>
+                              </object>
+                            </child>
                           </object>
                           <packing>
                             <property name="expand">False</property>


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