[evolution/wip/webkit2] Bug 744846 - Composer file attachment uses incorrect EAlertSink



commit 7471bcb2f7307c3ad8f5135550e64e61d44eed5f
Author: Milan Crha <mcrha redhat com>
Date:   Wed Feb 25 16:49:14 2015 +0100

    Bug 744846 - Composer file attachment uses incorrect EAlertSink

 composer/e-msg-composer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 22c8da7..6580df3 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -4421,7 +4421,7 @@ handle_mailto (EMsgComposer *composer,
                                camel_url_decode (content);
                                if (file_is_blacklisted (content))
                                        e_alert_submit (
-                                               E_ALERT_SINK (composer),
+                                               E_ALERT_SINK (e_msg_composer_get_editor (composer)),
                                                "mail:blacklisted-file",
                                                content, NULL);
                                if (g_ascii_strncasecmp (content, "file:", 5) == 0)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]