summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-09-11 23:09:44 +0200
committerJiří Klimeš <jklimes@redhat.com>2015-09-12 21:20:55 +0200
commit9aa77ea2ca2b0699f8a86e5c7c2a5c92a7256f48 (patch)
tree64785c64a7d4a07d9e4bdfa5ab11e85020dac838
parent10d1144959e3320da0beb499a179030a1cb7a4fa (diff)
downloadnetwork-manager-applet-9aa77ea2ca2b0699f8a86e5c7c2a5c92a7256f48.tar.gz
wireless-security: fix an initial sensitivity of "Show password" checkbox
It also fixes the strange error when clicking "Cancel" in the editor: (nm-connection-editor:13074): Gtk-CRITICAL **: gtk_event_controller_reset: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed 12773 gtk_event_controller_reset (data->controller); (gdb) p data $121 = (EventControllerData *) 0x1448c80 (gdb) p *data $122 = {controller = 0x0, evmask_notify_id = 22028, grab_notify_id = 22029, sequence_state_changed_id = 22030} It was invoked by Breakpoint 1, destroy (parent=0x103c600) at eap-method-ttls.c:46 48 if (method->size_group) eap_method_unref (method=0x103c600) at eap-method.c:196 199 g_object_unref (method->ui_widget);
-rw-r--r--src/wireless-security/eap-method-simple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wireless-security/eap-method-simple.c b/src/wireless-security/eap-method-simple.c
index b13062f5..4044f483 100644
--- a/src/wireless-security/eap-method-simple.c
+++ b/src/wireless-security/eap-method-simple.c
@@ -232,6 +232,7 @@ set_userpass_ui (EAPMethodSimple *method)
gtk_entry_set_text (method->password_entry, "");
gtk_toggle_button_set_active (method->show_password, method->ws_parent->show_password);
+ password_storage_changed (NULL, NULL, method);
}
static void