[evolution] Bug 623702 - SEGV on redirecting message
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 623702 - SEGV on redirecting message
- Date: Sat, 10 Jul 2010 14:10:30 +0000 (UTC)
commit a0383d484ba9b96208892ab0c4c788696bb2c551
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jul 10 10:10:05 2010 -0400
Bug 623702 - SEGV on redirecting message
composer/e-msg-composer.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 998461a..791d151 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1644,6 +1644,11 @@ msg_composer_realize_gtkhtml_cb (GtkWidget *widget,
* it will accept the same drag targets as the attachment bar.
* Do this any earlier and GtkHTML will just overwrite us. */
+ /* When redirecting a message, the message body is not
+ * editable and therefore cannot be a drag destination. */
+ if (!e_web_view_get_editable (E_WEB_VIEW (widget)))
+ return;
+
view = e_msg_composer_get_attachment_view (composer);
target_list = e_attachment_view_get_target_list (view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]