[libnma/lr-gcr-fixes: 5/5] pkcs11-token-login-dialog: make it work with Gtk4




commit afb1dce921294373b423280ea386eeaa2467cb41
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Wed Aug 3 12:39:37 2022 +0200

    pkcs11-token-login-dialog: make it work with Gtk4
    
    The last remaining unported bit. Previously it couldn't be tested because
    Gcr was not ready for Gtk4.

 src/nma-pkcs11-token-login-dialog.ui | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/nma-pkcs11-token-login-dialog.ui b/src/nma-pkcs11-token-login-dialog.ui
index e8d3742c..8518fe00 100644
--- a/src/nma-pkcs11-token-login-dialog.ui
+++ b/src/nma-pkcs11-token-login-dialog.ui
@@ -9,16 +9,17 @@
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
         <property name="spacing">2</property>
+        <property name="visible">True</property>
         <child internal-child="action_area">
-          <object class="GtkButtonBox">
+          <object class="GtkBox">
             <property name="can_focus">False</property>
-            <property name="layout_style">end</property>
+            <property name="visible">True</property>
             <child>
               <object class="GtkButton" id="cancel">
                 <property name="label" translatable="yes">_Cancel</property>
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="can_default">True</property>
+                <!-- property name="can_default">True</property -->
                 <property name="receives_default">False</property>
                 <property name="use_underline">True</property>
               </object>
@@ -34,7 +35,7 @@
                 <property name="label" translatable="yes">_Login</property>
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="can_default">True</property>
+                <!-- property name="can_default">True</property -->
                 <property name="receives_default">False</property>
                 <property name="use_underline">True</property>
               </object>


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