aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-12-21 22:28:35 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-12-22 17:46:19 +0800
commit5ee93d665b7d46df8453764a9330e7ac1d5e2242 (patch)
treef524da3701f39cef51c1dc3135f2fe2436890e5b /src/empathy-accounts-dialog.c
parentfd982ae92ddb1e9fd66e8a3fead2363f2028477a (diff)
downloadgsoc2013-empathy-5ee93d665b7d46df8453764a9330e7ac1d5e2242.tar
gsoc2013-empathy-5ee93d665b7d46df8453764a9330e7ac1d5e2242.tar.gz
gsoc2013-empathy-5ee93d665b7d46df8453764a9330e7ac1d5e2242.tar.bz2
gsoc2013-empathy-5ee93d665b7d46df8453764a9330e7ac1d5e2242.tar.lz
gsoc2013-empathy-5ee93d665b7d46df8453764a9330e7ac1d5e2242.tar.xz
gsoc2013-empathy-5ee93d665b7d46df8453764a9330e7ac1d5e2242.tar.zst
gsoc2013-empathy-5ee93d665b7d46df8453764a9330e7ac1d5e2242.zip
account_dialog_create_edit_params_dialog: don't connect account-created signal
This signal will never be fired when editing an existing account.
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 7535d165d..139f03db9 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -504,28 +504,6 @@ empathy_account_dialog_widget_cancelled_cb (
empathy_account_dialog_cancel (dialog);
}
-static void
-empathy_account_dialog_account_created_cb (EmpathyAccountWidget *widget_object,
- TpAccount *account,
- EmpathyAccountsDialog *dialog)
-{
- EmpathyAccountSettings *settings =
- accounts_dialog_model_get_selected_settings (dialog);
- EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog);
-
- accounts_dialog_update_settings (dialog, settings);
- accounts_dialog_update_status_infobar (dialog,
- empathy_account_settings_get_account (settings));
-
- gtk_widget_set_sensitive (priv->treeview, TRUE);
- gtk_widget_set_sensitive (priv->button_add, TRUE);
- gtk_widget_set_sensitive (priv->button_remove, TRUE);
- gtk_widget_set_sensitive (priv->button_import, TRUE);
-
- if (settings)
- g_object_unref (settings);
-}
-
static gboolean
accounts_dialog_has_valid_accounts (EmpathyAccountsDialog *dialog)
{
@@ -574,8 +552,6 @@ account_dialog_create_edit_params_dialog (EmpathyAccountsDialog *dialog)
content = empathy_account_widget_get_widget (priv->setting_widget_object);
- g_signal_connect (priv->setting_widget_object, "account-created",
- G_CALLBACK (empathy_account_dialog_account_created_cb), dialog);
g_signal_connect (priv->setting_widget_object, "cancelled",
G_CALLBACK (empathy_account_dialog_widget_cancelled_cb), dialog);