[network-manager-applet] Revert "editor: correctly set connection list button sensitivity"



commit a3e9cedb62f29b61859a8474f0010e6f94912848
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Tue Dec 19 12:17:30 2017 +0100

    Revert "editor: correctly set connection list button sensitivity"
    
    This reverts commit f534599905e3f295eaed9330af00609fd2666d45.
    
    It's not cool to grey out the whole dialog if the Save button is not
    actionable. The button might be greyed out because the connection is not
    valid (e.g. missing a name) and this would remove a chance to fix it.

 src/connection-editor/nm-connection-editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
index 4997bad..e6f2ccf 100644
--- a/src/connection-editor/nm-connection-editor.c
+++ b/src/connection-editor/nm-connection-editor.c
@@ -166,7 +166,7 @@ update_sensitivity (NMConnectionEditor *editor)
                /* If the user cannot ever be authorized to change system connections,
                 * we desensitize the entire dialog.
                 */
-               sensitive = actionable && authorized;
+               sensitive = authorized;
        }
 
        /* Cancel button is always sensitive */


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