summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-desktop-icon-file.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-06 14:14:59 +0200
committerStefano Karapetsas <[email protected]>2012-09-06 14:14:59 +0200
commitf426641aacea9d5f7683be776536bc6301c7baef (patch)
treed19911212091bfcadf2a976d219aca093ef0606f /libcaja-private/caja-desktop-icon-file.c
parent465e6ae56a2a81cd346d573532dc4a39c16df225 (diff)
downloadcaja-f426641aacea9d5f7683be776536bc6301c7baef.tar.bz2
caja-f426641aacea9d5f7683be776536bc6301c7baef.tar.xz
remove latest mateconf usage
metadata saved in files instead of migrate to gsettings (caja-desktop-metadata.c is from nautilus)
Diffstat (limited to 'libcaja-private/caja-desktop-icon-file.c')
-rw-r--r--libcaja-private/caja-desktop-icon-file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcaja-private/caja-desktop-icon-file.c b/libcaja-private/caja-desktop-icon-file.c
index 7e24f6dc..c91d2067 100644
--- a/libcaja-private/caja-desktop-icon-file.c
+++ b/libcaja-private/caja-desktop-icon-file.c
@@ -26,6 +26,7 @@
#include <config.h>
#include "caja-desktop-icon-file.h"
+#include "caja-desktop-metadata.h"
#include "caja-desktop-directory-file.h"
#include "caja-directory-notify.h"
#include "caja-directory-private.h"
@@ -294,7 +295,7 @@ caja_desktop_icon_file_new (CajaDesktopLink *link)
update_info_from_link (icon_file);
- caja_desktop_update_metadata_from_mateconf (file, file->details->name);
+ caja_desktop_update_metadata_from_keyfile (file, file->details->name);
caja_directory_add_file (directory, file);
@@ -378,7 +379,7 @@ caja_desktop_icon_file_set_metadata_as_list (CajaFile *file,
CajaDesktopIconFile *desktop_file;
desktop_file = CAJA_DESKTOP_ICON_FILE (file);
- caja_desktop_set_metadata_stringv (file, file->details->name, key, value);
+ caja_desktop_set_metadata_stringv (file, file->details->name, key, (const gchar **) value);
}
static void