From 31047e36feace597af23cb60297f2ce54c5138f8 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 8 Aug 2001 11:54:51 +0000 Subject: [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 --- shell/e-local-folder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/e-local-folder.c') diff --git a/shell/e-local-folder.c b/shell/e-local-folder.c index 41fe1a4150..2b79820da3 100644 --- a/shell/e-local-folder.c +++ b/shell/e-local-folder.c @@ -327,8 +327,8 @@ save_metadata (ELocalFolder *local_folder) (xmlChar *) e_folder_get_type_string (folder)); if (e_folder_get_description (folder) != NULL) - xmlNewChild (root, NULL, (xmlChar *) "description", - (xmlChar *) e_folder_get_description (folder)); + xmlNewTextChild (root, NULL, (xmlChar *) "description", + (xmlChar *) e_folder_get_description (folder)); physical_directory = e_folder_get_physical_uri (folder) + URI_PREFIX_LEN - 1; physical_path = g_concat_dir_and_file (physical_directory, E_LOCAL_FOLDER_METADATA_FILE_NAME); -- cgit v1.2.3