diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-03-27 02:55:41 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-03-27 02:55:41 +0800 |
commit | f342817e88f4e598b7962d94d497c408c45a8107 (patch) | |
tree | 030887f24eba1ffab1dcaf29792ba154506752c7 /shell/e-local-folder.c | |
parent | 4cc23476d3f379c519e6b4a08bf83188fc77f900 (diff) | |
download | gsoc2013-evolution-f342817e88f4e598b7962d94d497c408c45a8107.tar.gz gsoc2013-evolution-f342817e88f4e598b7962d94d497c408c45a8107.tar.zst gsoc2013-evolution-f342817e88f4e598b7962d94d497c408c45a8107.zip |
Finish the DnD stuff by implementing move/copy on the shell side as
well. Now we should just need to implement the corresponding bits in
the components...
svn path=/trunk/; revision=8949
Diffstat (limited to 'shell/e-local-folder.c')
-rw-r--r-- | shell/e-local-folder.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/shell/e-local-folder.c b/shell/e-local-folder.c index 62dad4f4c2..68bed01764 100644 --- a/shell/e-local-folder.c +++ b/shell/e-local-folder.c @@ -53,9 +53,6 @@ static EFolderClass *parent_class = NULL; #define URI_PREFIX "file://" #define URI_PREFIX_LEN 7 -#define METADATA_FILE_NAME "folder-metadata.xml" -#define METADATA_FILE_NAME_LEN 19 - struct _ELocalFolderPrivate { int dummy; }; @@ -98,7 +95,7 @@ construct_loading_metadata (ELocalFolder *local_folder, folder = E_FOLDER (local_folder); - metadata_path = g_concat_dir_and_file (path, METADATA_FILE_NAME); + metadata_path = g_concat_dir_and_file (path, E_LOCAL_FOLDER_METADATA_FILE_NAME); doc = xmlParseFile (metadata_path); if (doc == NULL) { @@ -155,7 +152,7 @@ save_metadata (ELocalFolder *local_folder) (xmlChar *) e_folder_get_description (folder)); physical_directory = e_folder_get_physical_uri (folder) + URI_PREFIX_LEN - 1; - physical_path = g_concat_dir_and_file (physical_directory, METADATA_FILE_NAME); + physical_path = g_concat_dir_and_file (physical_directory, E_LOCAL_FOLDER_METADATA_FILE_NAME); if (xmlSaveFile (physical_path, doc) < 0) { unlink (physical_path); |