summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-03 11:51:10 +0100
committerraveit65 <[email protected]>2021-02-24 20:38:18 +0100
commit8ffff0ec396a40caa9251ac78597ff70ae1df4d1 (patch)
tree73c7f1dd31e2a5b3dd25cbb85590d21c9dfec74a
parent66142203d95f11ec06147d8f0208b8f2e94e104d (diff)
downloadcaja-8ffff0ec396a40caa9251ac78597ff70ae1df4d1.tar.bz2
caja-8ffff0ec396a40caa9251ac78597ff70ae1df4d1.tar.xz
caja-customization-data: keep the key of the hash table if exists
-rw-r--r--libcaja-private/caja-customization-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-customization-data.c b/libcaja-private/caja-customization-data.c
index 86e17382..bbd9a386 100644
--- a/libcaja-private/caja-customization-data.c
+++ b/libcaja-private/caja-customization-data.c
@@ -481,7 +481,7 @@ load_name_map_hash_table (CajaCustomizationData *data)
filename = xmlGetProp (current_node, "filename");
if (display_name && filename)
{
- g_hash_table_replace (data->name_map_hash, g_strdup (filename), g_strdup (_(display_name)));
+ g_hash_table_insert (data->name_map_hash, g_strdup (filename), g_strdup (_(display_name)));
}
xmlFree (filename);
xmlFree (display_name);