Commit 95466c01 authored by Guillaume Desmottes's avatar Guillaume Desmottes

assistant: check that the enter/create page isn't already valid when switching protocol

parent 96254dab
......@@ -448,6 +448,12 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser,
g_signal_connect (priv->current_widget_object, "handle-apply",
G_CALLBACK (account_assistant_handle_apply_cb), self);
if (empathy_account_settings_is_valid (settings))
gtk_assistant_set_page_complete (GTK_ASSISTANT (self),
priv->enter_or_create_page, TRUE);
gtk_box_pack_start (GTK_BOX (priv->enter_or_create_page), account_widget,
gtk_widget_show (account_widget);
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