summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-03 11:51:10 +0100
committerraveit65 <[email protected]>2022-07-21 19:33:50 +0200
commit76f11ad9fd2c4a46211a115fe16c71dca9756503 (patch)
tree9e4d84d5f6a71e99c5a8a3da47435c730dc98840
parent45c68efee99e19a6db1f61fd703f90e78f7c7333 (diff)
downloadcaja-76f11ad9fd2c4a46211a115fe16c71dca9756503.tar.bz2
caja-76f11ad9fd2c4a46211a115fe16c71dca9756503.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 bfc477a4..d1f2a180 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);