From 08642cd462600ba6113bb00443a67d0b45462f49 Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Tue, 3 Jan 2006 18:42:21 +0000 Subject: Use the composer window as the parent window while showing the error 2006-01-04 Parthasarathi Susarla * em-composer-utils.c: (em_utils_composer_send_cb): Use the composer window as the parent window while showing the error message. svn path=/trunk/; revision=31041 --- mail/em-composer-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/em-composer-utils.c') diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index b0eac88d5e..a17d0f166b 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -385,7 +385,7 @@ em_utils_composer_send_cb (EMsgComposer *composer, gpointer user_data) account = e_msg_composer_get_preferred_account (composer); if (!account->enabled) { - e_error_run(NULL, "mail:send-no-account-enabled", NULL); + e_error_run((GtkWindow *)composer, "mail:send-no-account-enabled", NULL); return; } -- cgit v1.2.3