diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-12-21 22:28:35 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-12-22 17:46:19 +0800 |
commit | 5ee93d665b7d46df8453764a9330e7ac1d5e2242 (patch) | |
tree | f524da3701f39cef51c1dc3135f2fe2436890e5b /src | |
parent | fd982ae92ddb1e9fd66e8a3fead2363f2028477a (diff) | |
download | gsoc2013-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')
-rw-r--r-- | src/empathy-accounts-dialog.c | 24 |
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); |