[network-manager-applet] editor: correctly set connection list button sensitivity
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] editor: correctly set connection list button sensitivity
- Date: Mon, 18 Dec 2017 08:26:12 +0000 (UTC)
commit f534599905e3f295eaed9330af00609fd2666d45
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Mon Dec 18 08:28:43 2017 +0100
editor: correctly set connection list button sensitivity
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 e6f2ccf..4997bad 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 = authorized;
+ sensitive = actionable && authorized;
}
/* Cancel button is always sensitive */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]