]> git.0d.be Git - empathy.git/commitdiff
Make remove work
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 23 Jul 2009 17:23:27 +0000 (19:23 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 29 Jul 2009 22:13:19 +0000 (00:13 +0200)
src/empathy-accounts-dialog.c

index 6ac9eb352c8959a8b744a76705095dc988677cc9..3b5386606e8b61139c579e046ea27da5808f1fbd 100644 (file)
@@ -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);