Commit dcb932bd authored by Dan Winship's avatar Dan Winship

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
parent 51099804
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment