diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-08 19:54:51 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-08 19:54:51 +0800 |
commit | 31047e36feace597af23cb60297f2ce54c5138f8 (patch) | |
tree | df597319c7656c176d3cb05c9e37f59bf4995571 /shell/e-shortcuts.c | |
parent | e9bd546cbe64b86b61308a713b520bddba1ef247 (diff) | |
download | gsoc2013-evolution-31047e36feace597af23cb60297f2ce54c5138f8.tar.gz gsoc2013-evolution-31047e36feace597af23cb60297f2ce54c5138f8.tar.zst gsoc2013-evolution-31047e36feace597af23cb60297f2ce54c5138f8.zip |
[Fixes, among other things, #5705, "Ampersands not handled
correctly in drag + drop". Thanks to Nat for actually discovering
the problem.]
* e-shortcuts.c (save_shortcuts): Use `xmlNewTextChild()' instead
of `xmlNewChild()'.
* e-local-folder.c (save_metadata): Use `xmlNewTextChild' instead
of `xmlNewChild()'.
svn path=/trunk/; revision=11783
Diffstat (limited to 'shell/e-shortcuts.c')
-rw-r--r-- | shell/e-shortcuts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c index a6a35d49de..7dbeaecc9b 100644 --- a/shell/e-shortcuts.c +++ b/shell/e-shortcuts.c @@ -402,7 +402,8 @@ save_shortcuts (EShortcuts *shortcuts, xmlNode *shortcut_node; shortcut = (EShortcutItem *) q->data; - shortcut_node = xmlNewChild (group_node, NULL, (xmlChar *) "item", (xmlChar *) shortcut->uri); + shortcut_node = xmlNewTextChild (group_node, NULL, (xmlChar *) "item", + (xmlChar *) shortcut->uri); if (shortcut->name != NULL) xmlSetProp (shortcut_node, (xmlChar *) "name", shortcut->name); |