# HG changeset patch # User Daniel Atallah # Date 1137366617 0 # Node ID 03f690fcb78ed613cd7924566e65444c47236ea7 # Parent 4229503f1cd9009988b70e4c24e719c638ad6582 [gaim-migrate @ 15241] Sadrul fixed bug #1406201 committer: Tailor Script diff -r 4229503f1cd9 -r 03f690fcb78e src/gtksavedstatuses.c --- 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; }