aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-26 12:24:01 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-26 12:24:01 +0800
commit1c11041eebd485a471e842ba4f75834c2ce6e1f7 (patch)
treec708d5ff8c87af387e5ad790f15616053068e9f4 /camel/providers/local
parentca6276f9e5e5813b6954e2869667458c3b1d9f10 (diff)
downloadgsoc2013-evolution-1c11041eebd485a471e842ba4f75834c2ce6e1f7.tar.gz
gsoc2013-evolution-1c11041eebd485a471e842ba4f75834c2ce6e1f7.tar.zst
gsoc2013-evolution-1c11041eebd485a471e842ba4f75834c2ce6e1f7.zip
removed.
2004-05-25 Not Zed <NotZed@Ximian.com> * camel-store.c (camel_folder_info_build_path): removed. * camel-store.h (CamelFolderInfo): removed 'path', fixed all callers. (struct _CamelStore): removed 'dir_sep' fixed all uses. svn path=/trunk/; revision=26089
Diffstat (limited to 'camel/providers/local')
-rw-r--r--camel/providers/local/camel-local-folder.c1
-rw-r--r--camel/providers/local/camel-local-store.c1
-rw-r--r--camel/providers/local/camel-maildir-store.c1
-rw-r--r--camel/providers/local/camel-mbox-store.c3
-rw-r--r--camel/providers/local/camel-mh-store.c1
-rw-r--r--camel/providers/local/camel-spool-store.c4
6 files changed, 0 insertions, 11 deletions
diff --git a/camel/providers/local/camel-local-folder.c b/camel/providers/local/camel-local-folder.c
index 2c352c749d..2f5cc53223 100644
--- a/camel/providers/local/camel-local-folder.c
+++ b/camel/providers/local/camel-local-folder.c
@@ -319,7 +319,6 @@ camel_local_folder_construct(CamelLocalFolder *lf, CamelStore *parent_store, con
fi->name = g_strdup (name);
fi->uri = camel_url_to_string (url, 0);
fi->unread = camel_folder_get_unread_message_count(folder);
- camel_folder_info_build_path(fi, '/');
fi->flags = CAMEL_FOLDER_NOCHILDREN;
camel_url_free (url);
diff --git a/camel/providers/local/camel-local-store.c b/camel/providers/local/camel-local-store.c
index 2a154d1556..f39f597f08 100644
--- a/camel/providers/local/camel-local-store.c
+++ b/camel/providers/local/camel-local-store.c
@@ -469,7 +469,6 @@ delete_folder(CamelStore *store, const char *folder_name, CamelException *ex)
fi->uri = g_strdup_printf ("%s:%s#%s", ((CamelService *) store)->url->protocol,
CAMEL_LOCAL_STORE(store)->toplevel_dir, folder_name);
fi->unread = -1;
- camel_folder_info_build_path(fi, '/');
camel_object_trigger_event (store, "folder_deleted", fi);
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
index 33daf0521e..5a81965ede 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -232,7 +232,6 @@ static CamelFolderInfo *camel_folder_info_new(const char *url, const char *full,
fi->name = g_strdup(name);
fi->unread = -1;
fi->total = -1;
- camel_folder_info_build_path(fi, '/');
if (!strcmp(full, "."))
fi->flags |= CAMEL_FOLDER_SYSTEM;
diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c
index 4893853689..a2bafd4ab0 100644
--- a/camel/providers/local/camel-mbox-store.c
+++ b/camel/providers/local/camel-mbox-store.c
@@ -333,7 +333,6 @@ delete_folder(CamelStore *store, const char *folder_name, CamelException *ex)
fi->name = g_path_get_basename(folder_name);
fi->uri = g_strdup_printf("mbox:%s#%s",((CamelService *) store)->url->path, folder_name);
fi->unread = -1;
- camel_folder_info_build_path(fi, '/');
camel_object_trigger_event(store, "folder_deleted", fi);
@@ -705,7 +704,6 @@ scan_dir(CamelStore *store, CamelURL *url, GHashTable *visited, CamelFolderInfo
fi->uri = camel_url_to_string (url, 0);
fi->name = short_name;
fi->full_name = full_name;
- fi->path = g_strdup_printf("/%s", full_name);
fi->unread = -1;
fi->total = -1;
@@ -815,7 +813,6 @@ get_folder_info(CamelStore *store, const char *top, guint32 flags, CamelExceptio
fi->full_name = g_strdup(top);
fi->unread = -1;
fi->total = -1;
- fi->path = g_strdup_printf("/%s", top);
subdir = g_strdup_printf("%s.sbd", path);
if (stat(subdir, &st) == 0) {
diff --git a/camel/providers/local/camel-mh-store.c b/camel/providers/local/camel-mh-store.c
index 7e57b69766..ee35d8ec25 100644
--- a/camel/providers/local/camel-mh-store.c
+++ b/camel/providers/local/camel-mh-store.c
@@ -350,7 +350,6 @@ folder_info_new (CamelStore *store, CamelURL *url, const char *root, const char
fi->uri = camel_url_to_string (url, 0);
fi->full_name = g_strdup(path);
fi->name = g_strdup(base?base+1:path);
- camel_folder_info_build_path(fi, '/');
fill_fi(store, fi, flags);
d(printf("New folderinfo:\n '%s'\n '%s'\n '%s'\n", fi->full_name, fi->uri, fi->path));
diff --git a/camel/providers/local/camel-spool-store.c b/camel/providers/local/camel-spool-store.c
index 1aa18965ae..96278bf538 100644
--- a/camel/providers/local/camel-spool-store.c
+++ b/camel/providers/local/camel-spool-store.c
@@ -231,7 +231,6 @@ static void free_folder_info (CamelStore *store, CamelFolderInfo *fi)
g_free(fi->uri);
g_free(fi->name);
g_free(fi->full_name);
- g_free(fi->path);
g_free(fi);
}
}
@@ -246,7 +245,6 @@ camel_folder_info_new(const char *url, const char *full, const char *name, int u
fi->full_name = g_strdup(full);
fi->name = g_strdup(name);
fi->unread = unread;
- camel_folder_info_build_path(fi, '/');
d(printf("Adding spoold info: '%s' '%s' '%s' '%s'\n", fi->path, fi->name, fi->full_name, fi->url));
@@ -466,8 +464,6 @@ get_folder_info_mbox(CamelStore *store, const char *top, guint32 flags, CamelExc
camel_object_unref(folder);
} else
fi->unread = -1;
-
- camel_folder_info_build_path(fi, '/');
}
return fi;