diff options
author | Peter Williams <peterw@ximian.com> | 2001-07-26 23:58:09 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-07-26 23:58:09 +0800 |
commit | 41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4 (patch) | |
tree | 6bc443853a0fbb6236bb91a71af8f0ce69aa87e0 | |
parent | e49022b7768f937dfbe64d31bcef07beb8baf52b (diff) | |
download | gsoc2013-evolution-41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4.tar gsoc2013-evolution-41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4.tar.gz gsoc2013-evolution-41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4.tar.bz2 gsoc2013-evolution-41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4.tar.lz gsoc2013-evolution-41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4.tar.xz gsoc2013-evolution-41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4.tar.zst gsoc2013-evolution-41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4.zip |
Correct our manually inserted signature dash thingie (it was missing the
2001-07-26 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (get_signature_html): Correct our manually inserted
signature dash thingie (it was missing the space).
svn path=/trunk/; revision=11426
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 0f6d71c0f6..c3e23b5b4d 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2001-07-26 Peter Williams <peterw@ximian.com> + + * e-msg-composer.c (get_signature_html): Correct our manually inserted + signature dash thingie (it was missing the space). + 2001-07-26 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Get "destinations", diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 5ba7a5c838..dcfdd896a8 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -763,12 +763,16 @@ get_signature_html (EMsgComposer *composer) text = e_msg_composer_get_sig_file_content (sig_file, format_html); if (text) { + /* The signature dash convention ("-- \n") is specified in the + * "Son of RFC 1036": http://www.chemie.fu-berlin.de/outerspace/netnews/son-of-1036.html, + * section 4.3.2. + */ html = g_strdup_printf ("<!--+GtkHTML:<DATA class=\"ClueFlow\" key=\"signature\" value=\"1\">-->" "<TABLE WIDTH=\"100%%\" CELLSPACING=\"0\" CELLPADDING=\"0\"><TR><TD>" "%s%s%s%s" "</TD></TR></TABLE>", format_html ? "" : "<PRE>\n", - format_html || !strncmp ("-- \n", text, 3) ? "" : "--\n", + format_html || !strncmp ("-- \n", text, 3) ? "" : "-- \n", text, format_html ? "" : "</PRE>\n"); g_free (text); |