From ce4c4dc698850f54dfa2409b790b2e1c747a66a6 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 15 Feb 2012 15:26:33 +0100 Subject: [PATCH] accounts-dialog: don't automatically open the add account This legacy code isn't used since a while as the assistant is displayed if there is no account. https://bugzilla.gnome.org/show_bug.cgi?id=670203 --- src/empathy-accounts-dialog.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index c6e706dc..978ad163 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -983,15 +983,6 @@ accounts_dialog_update_settings (EmpathyAccountsDialog *dialog, return; } - if (empathy_connection_managers_get_cms_num (priv->cms) > 0) - { - /* We have no account configured but we have some - * profiles installed. The user obviously wants to add - * an account. Click on the Add button for him. */ - accounts_dialog_button_add_clicked_cb (priv->button_add, - dialog); - return; - } /* No account and no profile, warn the user */ gtk_widget_hide (priv->vbox_details); -- 2.39.2