Commit f09a4dce authored by Lubomir Rintel's avatar Lubomir Rintel

libnma/vpn-password-dialog: drop use of GtkWidget.no-show-all property

It's going away in Gtk4. We don't do show_all() anyway -- just hide the
widgets by default.

This commit brings back parts of 07d900c0 ("libnma: drop use of
GtkWidget.no-show-all property") that was unnecessarily reverted in
f56334c3 ("Revert "libnma: drop use of GtkWidget.no-show-all
property"") with another fix folded in.

!24
parent 0eaae79e
Pipeline #36938 passed with stages
in 10 minutes and 48 seconds
......@@ -86,8 +86,8 @@
</child>
<child>
<object class="GtkEntry" id="password_entry_tertiary">
<property name="visible">False</property>
<property name="can_focus">True</property>
<property name="no_show_all">True</property>
<property name="visibility">False</property>
<property name="width_chars">20</property>
<signal name="activate" handler="gtk_window_activate_default" swapped="yes"/>
......@@ -99,9 +99,8 @@
</child>
<child>
<object class="GtkEntry" id="password_entry_secondary">
<property name="visible">True</property>
<property name="visible">False</property>
<property name="can_focus">True</property>
<property name="no_show_all">True</property>
<property name="visibility">False</property>
<property name="width_chars">20</property>
<signal name="activate" handler="gtk_window_activate_default" swapped="yes"/>
......@@ -115,7 +114,6 @@
<object class="GtkEntry" id="password_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="no_show_all">True</property>
<property name="visibility">False</property>
<property name="width_chars">20</property>
<signal name="activate" handler="gtk_window_activate_default" swapped="yes"/>
......@@ -127,8 +125,8 @@
</child>
<child>
<object class="GtkLabel" id="password_label_tertiary">
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="label" translatable="yes">_Tertiary Password:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">password_entry_tertiary</property>
......@@ -141,9 +139,8 @@
</child>
<child>
<object class="GtkLabel" id="password_label_secondary">
<property name="visible">True</property>
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="label" translatable="yes">_Secondary Password:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">password_entry_secondary</property>
......@@ -158,7 +155,6 @@
<object class="GtkLabel" id="password_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="label" translatable="yes">_Password:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">password_entry</property>
......@@ -171,8 +167,8 @@
</child>
<child>
<object class="GtkLabel" id="message_label">
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="halign">start</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment