diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-04 07:54:28 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-04 07:54:28 +0800 |
commit | b5ca749f36b2c5574a227b2d35e70e0129b5ebc0 (patch) | |
tree | 99e06a54a4bbe470d04225017d1e5cefb97d9183 /mail | |
parent | de51c2f598c39b47979be68bc35ae992da0a40ad (diff) | |
download | gsoc2013-evolution-b5ca749f36b2c5574a227b2d35e70e0129b5ebc0.tar gsoc2013-evolution-b5ca749f36b2c5574a227b2d35e70e0129b5ebc0.tar.gz gsoc2013-evolution-b5ca749f36b2c5574a227b2d35e70e0129b5ebc0.tar.bz2 gsoc2013-evolution-b5ca749f36b2c5574a227b2d35e70e0129b5ebc0.tar.lz gsoc2013-evolution-b5ca749f36b2c5574a227b2d35e70e0129b5ebc0.tar.xz gsoc2013-evolution-b5ca749f36b2c5574a227b2d35e70e0129b5ebc0.tar.zst gsoc2013-evolution-b5ca749f36b2c5574a227b2d35e70e0129b5ebc0.zip |
Add an Organization header.
2002-01-03 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Add an Organization
header.
svn path=/trunk/; revision=15242
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 2 | ||||
-rw-r--r-- | mail/mail-display.c | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 2d9cfbbcf3..91c1567b8b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2002-01-03 Jeffrey Stedfast <fejj@ximian.com> + + * mail-callbacks.c (composer_get_message): Add an Organization + header. + 2002-01-02 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (list_add_addresses): Simplified. Also no diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 31d5afa65b..006363d9e8 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -415,6 +415,8 @@ composer_get_message (EMsgComposer *composer) camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Account", account->name); camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Transport", account->transport->url); camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Fcc", account->sent_folder_uri); + if (account->id->organization) + camel_medium_set_header (CAMEL_MEDIUM (message), "Organization", account->id->organization); /* add the always-cc/bcc addresses */ if (account->always_cc && account->cc_addrs) { diff --git a/mail/mail-display.c b/mail/mail-display.c index 5cb516df6a..323a77175a 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -957,7 +957,7 @@ on_object_requested (GtkHTML *html, GtkHTMLEmbedded *eb, gpointer data) urls = g_datalist_get_data (md->data, "part_urls"); if (!urls) return FALSE; - + if (!strncmp (eb->classid, "popup:", 6) && eb->type) { part = g_hash_table_lookup (urls, eb->classid + 6); if (!CAMEL_IS_MIME_PART (part)) |