[nautilus] Move NAUTILUS_DESKTOP_METADATA_GCONF_PATH to nautilus-metadata.h
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Move NAUTILUS_DESKTOP_METADATA_GCONF_PATH to nautilus-metadata.h
- Date: Tue, 18 Aug 2009 14:30:32 +0000 (UTC)
commit a557cf30fe1f3761901a7248106840add2c1d105
Author: Alexander Larsson <alexl redhat com>
Date: Tue Aug 18 14:44:03 2009 +0200
Move NAUTILUS_DESKTOP_METADATA_GCONF_PATH to nautilus-metadata.h
Need this in the metadata conversion code
.../nautilus-desktop-directory-file.c | 3 +--
libnautilus-private/nautilus-metadata.h | 2 ++
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-desktop-directory-file.c b/libnautilus-private/nautilus-desktop-directory-file.c
index 296e6f3..b1af844 100644
--- a/libnautilus-private/nautilus-desktop-directory-file.c
+++ b/libnautilus-private/nautilus-desktop-directory-file.c
@@ -36,12 +36,11 @@
#include <gconf/gconf-client.h>
#include <gconf/gconf-value.h>
#include "nautilus-desktop-directory.h"
+#include "nautilus-metadata.h"
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <string.h>
-#define NAUTILUS_DESKTOP_METADATA_GCONF_PATH "/apps/nautilus/desktop-metadata"
-
struct NautilusDesktopDirectoryFileDetails {
NautilusDesktopDirectory *desktop_directory;
diff --git a/libnautilus-private/nautilus-metadata.h b/libnautilus-private/nautilus-metadata.h
index 87aa02c..830a826 100644
--- a/libnautilus-private/nautilus-metadata.h
+++ b/libnautilus-private/nautilus-metadata.h
@@ -74,6 +74,8 @@
#define NAUTILUS_METADATA_KEY_SCREEN "screen"
#define NAUTILUS_METADATA_KEY_EMBLEMS "emblems"
+/* This is where desktop item metadata are stored in gconf */
+#define NAUTILUS_DESKTOP_METADATA_GCONF_PATH "/apps/nautilus/desktop-metadata"
guint nautilus_metadata_get_id (const char *metadata);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]