aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shortcuts.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shortcuts.c')
-rw-r--r--shell/e-shortcuts.c3
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);