[empathy] accounts-dialog: don't automatically open the add account



commit ce4c4dc698850f54dfa2409b790b2e1c747a66a6
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Feb 15 15:26:33 2012 +0100

    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 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index c6e706d..978ad16 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]