[empathy/mc5: 195/483] Make remove work



commit 113d262b56effb7927d310ca90db3da5840e2dc9
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jul 23 19:23:27 2009 +0200

    Make remove work

 src/empathy-accounts-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 6ac9eb3..3b53866 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1142,7 +1142,7 @@ accounts_dialog_button_remove_clicked_cb (GtkWidget            *button,
 	res = gtk_dialog_run (GTK_DIALOG (message_dialog));
 
 	if (res == GTK_RESPONSE_YES) {
-		empathy_account_manager_remove (priv->account_manager, account);
+		accounts_dialog_model_remove_selected (dialog);
 		accounts_dialog_model_select_first (dialog);
 	}
 	gtk_widget_destroy (message_dialog);



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