diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-accounts-dialog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index fb679ba3c..0e004f5a5 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -2223,7 +2223,9 @@ maybe_show_salut_dialog (EmpathyAccountsDialog *self) button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Connect"), GTK_RESPONSE_YES); - gtk_widget_set_sensitive (button, FALSE); + gtk_widget_set_sensitive (button, + empathy_local_xmpp_assistant_widget_is_valid ( + EMPATHY_LOCAL_XMPP_ASSISTANT_WIDGET (widget))); g_signal_connect (widget, "valid", G_CALLBACK (salut_valid_cb), button); |