aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog8
-rw-r--r--composer/evolution-composer.c16
2 files changed, 23 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index e2a42efc6a..cb5778ce3c 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,11 @@
+2001-01-20 Jason Leach <jasonleach@usa.net>
+
+ (Fix #1222: doing File->New->Mail Message doesn't include .sig)
+
+ * evolution-composer.c (init): Get the users account information,
+ see if they've specified a sig file, if they do, create a composer
+ with that sig.
+
2001-01-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_optionmenu): Use "Full Name
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c
index 0d8af6eed9..3036f98e82 100644
--- a/composer/evolution-composer.c
+++ b/composer/evolution-composer.c
@@ -239,7 +239,21 @@ class_init (EvolutionComposerClass *klass)
static void
init (EvolutionComposer *composer)
{
- composer->composer = e_msg_composer_new ();
+ 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 ();
+
gtk_signal_connect (GTK_OBJECT (composer->composer), "send",
GTK_SIGNAL_FUNC (send_cb), NULL);
gtk_signal_connect (GTK_OBJECT (composer->composer), "postpone",
td> * Add an explicit dependency on pkgconfantoine2013-09-081-1/+1 * . NOPORTDOCS -> PORT_OPTIONS:MDOCS;bsam2013-06-202-12/+9 * - Convert USE_GETTEXT to USES (part 3)ak2013-04-251-1/+1 * - update png to 1.5.10dinoex2012-06-011-1/+1 * - Get Rid MD5 supportmiwi2011-03-191-1/+0 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-1/+1 * Fix pkg-plistlme2007-08-031-0/+1 * Update to 2.0.10lme2007-08-014-22/+22 * - Welcome X.org 7.2 \o/.flz2007-05-202-3/+1 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-142-5/+7 * Remove USE_REINPLACE from all categories starting with Bedwin2006-05-041-1/+0 * - Add SHA256pav2005-11-241-0/+1 * Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-1/+1 * Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-0/+1 * Update to version 2.0.8krion2004-12-193-10/+19 * Update MASTER_SITES and WWW: linekrion2004-11-272-2/+2 * Bump PORTREVISIONS for all ports that depend on atk or pango to ease in themarcus2004-11-081-1/+1 * Fix build with gtk 2.4.adamw2004-04-051-1/+6 * Chase the glib20 update, and bump all affected ports' PORTREVISIONs.marcus2004-04-051-1/+1 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * Add SIZE.trevor2004-01-281-0/+1 * Update to 2.0.7.adamw2003-11-083-4/+7 * Update port: biology/gperiodic to 2.0.6edwin2003-09-083-4/+5 * - Update to version 2.0.5krion2003-07-285-41/+25 * Assign MAINTAINER to ports@FreeBSD.org.adamw2003-06-051-1/+1 * Remove USE_GNOMENG.marcus2003-04-181-1/+0 * De-pkg-comment.knu2003-02-212-1/+1