aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-30 10:38:26 +0800
committerDan Winship <danw@src.gnome.org>2001-10-30 10:38:26 +0800
commit851e0289981051ae52d586390432c1d832552887 (patch)
treeee0dbb7713d6c8cabc3cb0c6f075a81eae4a78a7 /mail
parent17c21c849e255821ff4849c5a0a9f7b94738f8f6 (diff)
downloadgsoc2013-evolution-851e0289981051ae52d586390432c1d832552887.tar.gz
gsoc2013-evolution-851e0289981051ae52d586390432c1d832552887.tar.zst
gsoc2013-evolution-851e0289981051ae52d586390432c1d832552887.zip
add some debug spew re 13839.
* mail-format.c (handle_multipart_signed): add some debug spew re 13839. * mail-display.c (on_object_requested): here too svn path=/trunk/; revision=14404
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-display.c2
-rw-r--r--mail/mail-format.c1
3 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ae655c782c..d6fe01ab3f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2001-10-29 Dan Winship <danw@ximian.com>
+
+ * mail-format.c (handle_multipart_signed): add some debug spew re
+ 13839.
+
+ * mail-display.c (on_object_requested): here too
+
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* e-searching-tokenizer.c (search_info_set_match_size_increase):
diff --git a/mail/mail-display.c b/mail/mail-display.c
index cc42e4bed1..3cf0a405d9 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -963,6 +963,8 @@ on_object_requested (GtkHTML *html, GtkHTMLEmbedded *eb, gpointer data)
return do_attachment_header (html, eb, part, md);
} else if (!strncmp (eb->classid, "signature:", 10)) {
part = g_hash_table_lookup (urls, eb->classid);
+ printf ("%s -> %p (IS%s a mime part)\n",
+ eb->classid, part, CAMEL_IS_MIME_PART (part) ? "" : " NOT");
if (!CAMEL_IS_MIME_PART (part))
return FALSE;
return do_signature (html, eb, part, md);
diff --git a/mail/mail-format.c b/mail/mail-format.c
index bca3d4b514..a5f21c71db 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1808,6 +1808,7 @@ handle_multipart_signed (CamelMimePart *part, const char *mime_type,
/* Write out the click-for-info object */
url = g_strdup_printf ("signature:%p/%lu", subpart,
(unsigned long)time (NULL));
+ printf ("adding %s\n", url);
add_url ("part_urls", url, subpart, md);
mail_html_write (md->html, md->stream,
"<br><table cellspacing=0 cellpadding=0>"