changeset 10222:224c9f244a3a

[gaim-migrate @ 11351] Thanks arhart committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 20 Nov 2004 22:51:15 +0000
parents 9d833f54d220
children 57d09e74d9ba
files src/gtkblist.c src/gtkdialogs.c
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Sat Nov 20 22:31:08 2004 +0000
+++ b/src/gtkblist.c	Sat Nov 20 22:51:15 2004 +0000
@@ -3410,6 +3410,8 @@
 
 static void gaim_gtk_blist_remove(GaimBuddyList *list, GaimBlistNode *node)
 {
+	gaim_request_close_with_handle(node);
+
 	gaim_gtk_blist_hide_node(list, node);
 
 	if(node->parent)
--- a/src/gtkdialogs.c	Sat Nov 20 22:31:08 2004 +0000
+++ b/src/gtkdialogs.c	Sat Nov 20 22:51:15 2004 +0000
@@ -740,7 +740,7 @@
 		gchar *text = g_strdup_printf(_("You are about to remove the contact containing %s and %d other buddies from your buddy list.  Do you want to continue?"),
 			       buddy->name, contact->totalsize - 1);
 
-		gaim_request_action(NULL, NULL, _("Remove Contact"), text, 0, contact, 2,
+		gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2,
 				_("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb),
 				_("Cancel"), NULL);
 
@@ -800,7 +800,7 @@
 	text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list.  Do you want to continue?"),
 						   group->name);
 
-	gaim_request_action(NULL, NULL, _("Remove Group"), text, 0, group, 2,
+	gaim_request_action(group, NULL, _("Remove Group"), text, 0, group, 2,
 						_("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb),
 						_("Cancel"), NULL);
 
@@ -842,7 +842,7 @@
 	text = g_strdup_printf(_("You are about to remove %s from your buddy list.  Do you want to continue?"),
 						   buddy->name);
 
-	gaim_request_action(NULL, NULL, _("Remove Buddy"), text, 0, buddy, 2,
+	gaim_request_action(buddy, NULL, _("Remove Buddy"), text, 0, buddy, 2,
 						_("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb),
 						_("Cancel"), NULL);
 
@@ -880,7 +880,7 @@
 
 	g_return_if_fail(chat != NULL);
 
-	gaim_request_action(NULL, NULL, _("Remove Chat"), text, 0, chat, 2,
+	gaim_request_action(chat, NULL, _("Remove Chat"), text, 0, chat, 2,
 						_("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb),
 						_("Cancel"), NULL);