aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-15 22:26:33 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-16 21:10:31 +0800
commitce4c4dc698850f54dfa2409b790b2e1c747a66a6 (patch)
tree7392cd073adef638c67ac668054647f3e9d81966 /src/empathy-accounts-dialog.c
parent8586e87ddfa2b09b31aa6fe2f98bede2be4769c5 (diff)
downloadgsoc2013-empathy-ce4c4dc698850f54dfa2409b790b2e1c747a66a6.tar
gsoc2013-empathy-ce4c4dc698850f54dfa2409b790b2e1c747a66a6.tar.gz
gsoc2013-empathy-ce4c4dc698850f54dfa2409b790b2e1c747a66a6.tar.bz2
gsoc2013-empathy-ce4c4dc698850f54dfa2409b790b2e1c747a66a6.tar.lz
gsoc2013-empathy-ce4c4dc698850f54dfa2409b790b2e1c747a66a6.tar.xz
gsoc2013-empathy-ce4c4dc698850f54dfa2409b790b2e1c747a66a6.tar.zst
gsoc2013-empathy-ce4c4dc698850f54dfa2409b790b2e1c747a66a6.zip
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
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index c6e706dc3..978ad1630 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);