[evolution/wip/webkit-composer] EMsgComposer: Set empty body text when new comopser is created
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer] EMsgComposer: Set empty body text when new comopser is created
- Date: Wed, 19 Mar 2014 13:21:06 +0000 (UTC)
commit 5604308e7766258aa6feb230e5d71e0462d14518
Author: Tomas Popela <tpopela redhat com>
Date: Wed Mar 19 14:19:05 2014 +0100
EMsgComposer: Set empty body text when new comopser is created
This will ensure that the initial structure in composer will be set.
composer/e-msg-composer.c | 1 +
mail/em-composer-utils.c | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 6934d82..28b44f0 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2193,6 +2193,7 @@ msg_composer_constructed (GObject *object)
e_extensible_load_extensions (E_EXTENSIBLE (composer));
+ e_msg_composer_set_body_text (composer, "", TRUE);
/* Chain up to parent's constructed() method. */
G_OBJECT_CLASS (e_msg_composer_parent_class)->constructed (object);
}
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 9103829..25c5219 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1161,7 +1161,6 @@ em_utils_compose_new_message (EShell *shell,
composer = create_new_composer (shell, "", folder);
composer_set_no_change (composer);
- e_msg_composer_set_body_text (composer, "", TRUE);
e_msg_composer_is_from_new_message (composer, TRUE);
gtk_widget_show (GTK_WIDGET (composer));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]