changeset 12888:03f690fcb78e

[gaim-migrate @ 15241] Sadrul fixed bug #1406201 committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sun, 15 Jan 2006 23:10:17 +0000
parents 4229503f1cd9
children bba0faa37f3a
files src/gtksavedstatuses.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtksavedstatuses.c	Sun Jan 15 22:58:52 2006 +0000
+++ b/src/gtksavedstatuses.c	Sun Jan 15 23:10:17 2006 +0000
@@ -293,7 +293,7 @@
 	gtk_tree_model_get(model, iter, STATUS_WINDOW_COLUMN_TITLE, &title, -1);
 
 	buf = g_strdup_printf(_("Are you sure you want to delete %s?"), title);
-	gaim_request_action(NULL, NULL, buf, NULL, 0, title, 2,
+	gaim_request_action(status_window, NULL, buf, NULL, 0, title, 2,
 						_("Delete"), status_window_delete_confirm_cb,
 						_("Cancel"), g_free);
 	g_free(buf);
@@ -605,6 +605,8 @@
 	if (status_window->window != NULL)
 		gtk_widget_destroy(status_window->window);
 
+	gaim_request_close_with_handle(status_window);
+	gaim_notify_close_with_handle(status_window);
 	g_free(status_window);
 	status_window = NULL;
 }
@@ -657,7 +659,7 @@
 		(gaim_savedstatus_find(title) != NULL) &&
 		((dialog->original_title == NULL) || (strcmp(title, dialog->original_title))))
 	{
-		gaim_notify_error(NULL, NULL, _("Title already in use.  You must "
+		gaim_notify_error(status_window, NULL, _("Title already in use.  You must "
 						  "choose a unique title."), NULL);
 		return;
 	}