diff console/gntaccount.c @ 15735:cf58d8ec3b0d

merge of '943e1b86728490e22c089e8aba18e950e8a726c2' and 'ec0240858e45006ba6bc6bf78be7edaeeffa963a'
author Sean Egan <seanegan@gmail.com>
date Mon, 26 Feb 2007 06:24:41 +0000
parents 2eacd3be75a0
children 0869f00ca178
line wrap: on
line diff
--- a/console/gntaccount.c	Mon Feb 26 06:24:18 2007 +0000
+++ b/console/gntaccount.c	Mon Feb 26 06:24:41 2007 +0000
@@ -594,6 +594,7 @@
 			break;
 		}
 	}
+	gaim_request_close_with_handle(account); /* Close any other opened delete window */
 	gaim_accounts_delete(account);
 }
 
@@ -610,7 +611,6 @@
 	prompt = g_strdup_printf(_("Are you sure you want to delete %s?"),
 			gaim_account_get_username(account));
 
-	gaim_request_close_with_handle(account); /* Close any other opened delete window */
 	gaim_request_action(account, _("Delete Account"), prompt, NULL, 0, account, 2,
 			_("Delete"), really_delete_account, _("Cancel"), NULL);
 	g_free(prompt);