The logic changed if no account is selected as new account are now added using
a separated dialog. So if no account is selected we can certainly add a new
account but not remove anything.
https://bugzilla.gnome.org/show_bug.cgi?id=683442
return;
}
- /* No account and no profile, warn the user */
+ /* No account selected */
gtk_widget_hide (priv->vbox_details);
- gtk_widget_set_sensitive (priv->button_add, FALSE);
+ gtk_widget_set_sensitive (priv->button_add, TRUE);
+ gtk_widget_set_sensitive (priv->button_remove, FALSE);
gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->notebook_account),
NOTEBOOK_PAGE_NO_PROTOCOL);