[libnma/lr/gtk-4.0: 9/33] ui: remove some obsolete properties




commit bb17fafb3f774ac1123f94245c53abf38b74dcd2
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Tue Oct 12 15:51:01 2021 +0200

    ui: remove some obsolete properties
    
    These are no longer present in Gtk4:
    
      GtkWindow.window_position
      GtkDialog.type_hint
      GtkAspectFrame.label_xalign

 src/nma-bar-code-widget.ui            | 1 -
 src/nma-mobile-wizard.ui              | 2 --
 src/nma-pkcs11-cert-chooser-dialog.ui | 1 -
 src/nma-pkcs11-token-login-dialog.ui  | 1 -
 src/nma-vpn-password-dialog.ui        | 2 --
 5 files changed, 7 deletions(-)
---
diff --git a/src/nma-bar-code-widget.ui b/src/nma-bar-code-widget.ui
index 5b588fa5..62a7314d 100644
--- a/src/nma-bar-code-widget.ui
+++ b/src/nma-bar-code-widget.ui
@@ -16,7 +16,6 @@
         <property name="expand">True</property>
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="label_xalign">0.5</property>
         <child>
           <object class="GtkDrawingArea" id="qr_code">
             <property name="visible">True</property>
diff --git a/src/nma-mobile-wizard.ui b/src/nma-mobile-wizard.ui
index 8dac61a9..d8af5924 100644
--- a/src/nma-mobile-wizard.ui
+++ b/src/nma-mobile-wizard.ui
@@ -48,8 +48,6 @@
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">New Mobile Broadband Connection</property>
     <property name="modal">True</property>
-    <property name="window_position">center-always</property>
-    <property name="type_hint">dialog</property>
     <property name="use_header_bar">1</property>
     <signal name="cancel" handler="assistant_cancel" swapped="no"/>
     <signal name="close" handler="assistant_closed" swapped="no"/>
diff --git a/src/nma-pkcs11-cert-chooser-dialog.ui b/src/nma-pkcs11-cert-chooser-dialog.ui
index 3141dba8..9237ca28 100644
--- a/src/nma-pkcs11-cert-chooser-dialog.ui
+++ b/src/nma-pkcs11-cert-chooser-dialog.ui
@@ -5,7 +5,6 @@
   <template class="NMAPkcs11CertChooserDialog" parent="GtkDialog">
     <property name="can_focus">False</property>
     <property name="role">NMAPkcs11CertChooserDialog</property>
-    <property name="type_hint">dialog</property>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox1">
         <property name="visible">True</property>
diff --git a/src/nma-pkcs11-token-login-dialog.ui b/src/nma-pkcs11-token-login-dialog.ui
index 1ddd38ac..e8d3742c 100644
--- a/src/nma-pkcs11-token-login-dialog.ui
+++ b/src/nma-pkcs11-token-login-dialog.ui
@@ -4,7 +4,6 @@
   <requires lib="gtk+" version="3.10"/>
   <template class="NMAPkcs11TokenLoginDialog" parent="GtkDialog">
     <property name="can_focus">False</property>
-    <property name="type_hint">dialog</property>
     <child internal-child="vbox">
       <object class="GtkBox">
         <property name="can_focus">False</property>
diff --git a/src/nma-vpn-password-dialog.ui b/src/nma-vpn-password-dialog.ui
index 8a3138a6..72fb81c0 100644
--- a/src/nma-vpn-password-dialog.ui
+++ b/src/nma-vpn-password-dialog.ui
@@ -6,8 +6,6 @@
     <property name="can_focus">False</property>
     <property name="resizable">False</property>
     <property name="modal">True</property>
-    <property name="window_position">center</property>
-    <property name="type_hint">dialog</property>
     <signal name="close" handler="dialog_close_callback" swapped="no"/>
     <signal name="show" handler="dialog_show_callback" swapped="no"/>
     <child internal-child="vbox">


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