From 76f11ad9fd2c4a46211a115fe16c71dca9756503 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 3 Feb 2021 11:51:10 +0100 Subject: caja-customization-data: keep the key of the hash table if exists --- libcaja-private/caja-customization-data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1