diff options
author | bertrand <bertrand@helixcode.com> | 2000-03-04 12:58:12 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-03-04 12:58:12 +0800 |
commit | 55f8f073e2aca35954e824eb84f62211fd9d9200 (patch) | |
tree | fd241b0da712134372cc45ca132d5107f7c63fa6 /camel/camel-formatter.c | |
parent | 2c0b011c0d44994c075ed5fb7f587febc7f86983 (diff) | |
download | gsoc2013-evolution-55f8f073e2aca35954e824eb84f62211fd9d9200.tar gsoc2013-evolution-55f8f073e2aca35954e824eb84f62211fd9d9200.tar.gz gsoc2013-evolution-55f8f073e2aca35954e824eb84f62211fd9d9200.tar.bz2 gsoc2013-evolution-55f8f073e2aca35954e824eb84f62211fd9d9200.tar.lz gsoc2013-evolution-55f8f073e2aca35954e824eb84f62211fd9d9200.tar.xz gsoc2013-evolution-55f8f073e2aca35954e824eb84f62211fd9d9200.tar.zst gsoc2013-evolution-55f8f073e2aca35954e824eb84f62211fd9d9200.zip |
bonobo-goad-id is the good key to look for. (get_bonobo_tag_for_object):
2000-03-04 bertrand <bertrand@helixcode.com>
* 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 <object> tag.
(get_bonobo_tag_for_object): the correct syntax for the
to set a parameter inside an <object> tag is :
<object classid="..."> <param name="uid" value="..."> <param ...>
</object>
svn path=/trunk/; revision=2036
Diffstat (limited to 'camel/camel-formatter.c')
-rw-r--r-- | camel/camel-formatter.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 ( - "<object classid=\"%s\" uid=\"camel://%s\">", + "<object classid=\"%s\"> <param name=\"uid\" value=\"camel://%s\"> </object>", goad_id, uid); + + debug ("get_bonobo_tag_for_object: goad id %s found for mime type %s\n", goad_id, mimetype); return tag; } else |