[network-manager-applet/nma-1-2] c-e: fix sensitivity of "Export" button for VPN
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/nma-1-2] c-e: fix sensitivity of "Export" button for VPN
- Date: Mon, 27 Jun 2016 16:44:59 +0000 (UTC)
commit 637195f26bb61349c92c82c30a74d34687b7d671
Author: Thomas Haller <thaller redhat com>
Date: Mon Jun 27 18:41:52 2016 +0200
c-e: fix sensitivity of "Export" button for VPN
Fixes: bd20efeb915a6f2959e061f75a84abe23fea39e6
(cherry picked from commit 324f17354146242307687c75908cba0362606c8c)
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 430ce8f..7bba10b 100644
--- a/src/connection-editor/nm-connection-editor.c
+++ b/src/connection-editor/nm-connection-editor.c
@@ -222,7 +222,7 @@ done:
editor->last_validation_error = g_strdup (validation_error);
}
ce_polkit_button_set_validation_error (CE_POLKIT_BUTTON (editor->ok_button), validation_error);
- gtk_widget_set_sensitive (editor->export_button, !!validation_error);
+ gtk_widget_set_sensitive (editor->export_button, !validation_error);
update_sensitivity (editor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]