From 567b89066cacf211d231c35ac90021f7874b6e9a Mon Sep 17 00:00:00 2001 From: Paul Mangan Date: Sat, 3 Nov 2007 07:06:36 +0000 Subject: [PATCH] 2007-11-03 [paul] 3.0.2cvs112 * AUTHORS * src/compose.c * src/gtk/authors.h allow Bcc in commandline URIs (based on) Patch by Federico Heinz --- AUTHORS | 1 + ChangeLog | 8 ++++++++ PATCHSETS | 1 + configure.ac | 2 +- src/compose.c | 6 +++++- src/gtk/authors.h | 1 + 6 files changed, 17 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index c74aeab02..4a4fa66fc 100644 --- a/AUTHORS +++ b/AUTHORS @@ -250,3 +250,4 @@ contributors (in addition to the above; based on Changelog) Guillaume Chazarain Nicolas Doualot Frank Dietrich + Federico Heinz diff --git a/ChangeLog b/ChangeLog index 40783c023..e5ba985e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-11-03 [paul] 3.0.2cvs112 + + * AUTHORS + * src/compose.c + * src/gtk/authors.h + allow Bcc in commandline URIs + (based on) Patch by Federico Heinz + 2007-11-02 [colin] 3.0.2cvs111 * src/addressbook.c diff --git a/PATCHSETS b/PATCHSETS index 337344b94..10dbe43b3 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -3024,3 +3024,4 @@ ( cvs diff -u -r 1.654.2.3078 -r 1.654.2.3079 configure.ac; ) > 3.0.2cvs109.patchset ( cvs diff -u -r 1.1.2.16 -r 1.1.2.17 src/ldapupdate.c; ) > 3.0.2cvs110.patchset ( cvs diff -u -r 1.60.2.103 -r 1.60.2.104 src/addressbook.c; ) > 3.0.2cvs111.patchset +( cvs diff -u -r 1.100.2.56 -r 1.100.2.57 AUTHORS; cvs diff -u -r 1.382.2.418 -r 1.382.2.419 src/compose.c; cvs diff -u -r 1.1.2.42 -r 1.1.2.43 src/gtk/authors.h; ) > 3.0.2cvs112.patchset diff --git a/configure.ac b/configure.ac index 9df8c3772..185864474 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=0 MICRO_VERSION=2 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=111 +EXTRA_VERSION=112 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/compose.c b/src/compose.c index 7866bbdf3..731e8034f 100644 --- a/src/compose.c +++ b/src/compose.c @@ -2379,18 +2379,21 @@ static void compose_entries_set(Compose *compose, const gchar *mailto) { gchar *to = NULL; gchar *cc = NULL; + gchar *bcc = NULL; gchar *subject = NULL; gchar *body = NULL; gchar *temp = NULL; gsize len = 0; gchar *attach = NULL; - scan_mailto_url(mailto, &to, &cc, NULL, &subject, &body, &attach); + scan_mailto_url(mailto, &to, &cc, &bcc, &subject, &body, &attach); if (to) compose_entry_append(compose, to, COMPOSE_TO); if (cc) compose_entry_append(compose, cc, COMPOSE_CC); + if (bcc) + compose_entry_append(compose, bcc, COMPOSE_BCC); if (subject) { if (!g_utf8_validate (subject, -1, NULL)) { temp = g_locale_to_utf8 (subject, -1, NULL, &len, NULL); @@ -2439,6 +2442,7 @@ static void compose_entries_set(Compose *compose, const gchar *mailto) } g_free(to); g_free(cc); + g_free(bcc); g_free(subject); g_free(body); g_free(attach); diff --git a/src/gtk/authors.h b/src/gtk/authors.h index 60f6be467..67ec4b693 100644 --- a/src/gtk/authors.h +++ b/src/gtk/authors.h @@ -124,6 +124,7 @@ static char *CONTRIBS_LIST[] = { "Anders Hammar", "Mitko Haralanov", "Hashimoto", +"Federico Heinz", "Jorge Van Hemelryck", "Higuchi", "Hiramatu", -- 2.25.1