From 55f8f073e2aca35954e824eb84f62211fd9d9200 Mon Sep 17 00:00:00 2001 From: bertrand Date: Sat, 4 Mar 2000 04:58:12 +0000 Subject: bonobo-goad-id is the good key to look for. (get_bonobo_tag_for_object): 2000-03-04 bertrand * camel-formatter.c (get_bonobo_tag_for_object): bonobo-goad-id is the good key to look for. (get_bonobo_tag_for_object): close the tag. (get_bonobo_tag_for_object): the correct syntax for the to set a parameter inside an tag is : svn path=/trunk/; revision=2036 --- camel/camel-formatter.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'camel/camel-formatter.c') diff --git a/camel/camel-formatter.c b/camel/camel-formatter.c index 1754d854fb..277de3956d 100644 --- a/camel/camel-formatter.c +++ b/camel/camel-formatter.c @@ -260,14 +260,17 @@ get_bonobo_tag_for_object (CamelFormatter* formatter, CamelDataWrapper* root = formatter->priv->current_root; char* uid = lookup_unique_id (root, wrapper); const char* goad_id = gnome_mime_get_value ( - mimetype, "bonobo-goad_id"); + mimetype, "bonobo-goad-id"); g_assert (root); if (goad_id) { + char* tag = g_strdup_printf ( - "", + " ", goad_id, uid); + + debug ("get_bonobo_tag_for_object: goad id %s found for mime type %s\n", goad_id, mimetype); return tag; } else -- cgit v1.2.3