From dcb932bd9dde60e3856461789dcc2f5e21b8f914 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 13 Feb 2013 15:22:27 -0500 Subject: [PATCH] network: fix initial sensitivity of editor "Add" button The "only make Apply/Add sensitive if something changed" rule should not apply to new connections; they are already "changed". https://bugzilla.gnome.org/show_bug.cgi?id=693659 --- panels/network/connection-editor/net-connection-editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/panels/network/connection-editor/net-connection-editor.c b/panels/network/connection-editor/net-connection-editor.c index 3e667e8b9..07705c9be 100644 --- a/panels/network/connection-editor/net-connection-editor.c +++ b/panels/network/connection-editor/net-connection-editor.c @@ -502,6 +502,7 @@ net_connection_editor_set_connection (NetConnectionEditor *editor, button = GTK_WIDGET (gtk_builder_get_object (editor->builder, "details_apply_button")); gtk_button_set_label (GTK_BUTTON (button), _("_Add")); + editor->is_changed = TRUE; } editor->connection = nm_connection_duplicate (connection);