aboutsummaryrefslogtreecommitdiffstats
path: root/composer/evolution-composer.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2001-06-29 00:21:14 +0800
committerRadek Doulik <rodo@src.gnome.org>2001-06-29 00:21:14 +0800
commit3460368f5986462c91b18f1a7c9ffac67031f9cd (patch)
tree1c7f8d75c6474d8672addc5a3e60272eb9cec6eb /composer/evolution-composer.c
parent2a0952de00e5d4c2327ceb11ba00e5ea1ce9b97d (diff)
downloadgsoc2013-evolution-3460368f5986462c91b18f1a7c9ffac67031f9cd.tar
gsoc2013-evolution-3460368f5986462c91b18f1a7c9ffac67031f9cd.tar.gz
gsoc2013-evolution-3460368f5986462c91b18f1a7c9ffac67031f9cd.tar.bz2
gsoc2013-evolution-3460368f5986462c91b18f1a7c9ffac67031f9cd.tar.lz
gsoc2013-evolution-3460368f5986462c91b18f1a7c9ffac67031f9cd.tar.xz
gsoc2013-evolution-3460368f5986462c91b18f1a7c9ffac67031f9cd.tar.zst
gsoc2013-evolution-3460368f5986462c91b18f1a7c9ffac67031f9cd.zip
simplified(refactored) signature handling + better support for html
signatures svn path=/trunk/; revision=10563
Diffstat (limited to 'composer/evolution-composer.c')
-rw-r--r--composer/evolution-composer.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c
index ef9456c1aa..6dfddf1202 100644
--- a/composer/evolution-composer.c
+++ b/composer/evolution-composer.c
@@ -257,19 +257,9 @@ static void
init (EvolutionComposer *composer)
{
const MailConfigAccount *account;
- gboolean send_html;
- gchar *sig_file = NULL;
- account = mail_config_get_default_account ();
- send_html = mail_config_get_send_html ();
-
- if (account->id)
- sig_file = account->id->signature;
-
- if (sig_file)
- composer->composer = e_msg_composer_new_with_sig_file (sig_file, send_html);
- else
- composer->composer = e_msg_composer_new ();
+ account = mail_config_get_default_account ();
+ composer->composer = e_msg_composer_new_with_sig_file ();
gtk_signal_connect (GTK_OBJECT (composer->composer), "send",
GTK_SIGNAL_FUNC (send_cb), NULL);