[gnome-control-center/gnome-3-34] network: disable the "Apply" button until a change has been made



commit ef276fded1badfe953b712c5337c758b1b4b392c
Author: Jonathan Kang <jonathankang gnome org>
Date:   Wed Feb 20 15:45:02 2019 +0800

    network: disable the "Apply" button until a change has been made
    
    Previously, when you open the connection editor dialog for each
    connection, no matter whether you've made any changes or not, the
    "Apply" button became sensetive, which is not what we expected.
    
    Fix that by removing the unnecessary call to password_storage_changed()
    while constructing the security tab.

 panels/network/wireless-security/eap-method-simple.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/panels/network/wireless-security/eap-method-simple.c 
b/panels/network/wireless-security/eap-method-simple.c
index 2287b99cd..271ce007c 100644
--- a/panels/network/wireless-security/eap-method-simple.c
+++ b/panels/network/wireless-security/eap-method-simple.c
@@ -242,7 +242,6 @@ 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


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