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
This commit is contained in:
parent
510998041a
commit
dcb932bd9d
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue