aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/maildir/camel-maildir-store.c
diff options
context:
space:
mode:
authorJukka Zitting/evolution <hukka@src.gnome.org>1999-09-21 21:15:33 +0800
committerJukka Zitting/evolution <hukka@src.gnome.org>1999-09-21 21:15:33 +0800
commit97f8a7e38f1722a7e360c6eb7a6665bdc7412ff8 (patch)
tree95289d85e8d8037cd80893830b5b7ba5b087b1c0 /camel/providers/maildir/camel-maildir-store.c
parent87f84c22a871161adb52abdf9fe3bef01a601f3b (diff)
downloadgsoc2013-evolution-97f8a7e38f1722a7e360c6eb7a6665bdc7412ff8.tar
gsoc2013-evolution-97f8a7e38f1722a7e360c6eb7a6665bdc7412ff8.tar.gz
gsoc2013-evolution-97f8a7e38f1722a7e360c6eb7a6665bdc7412ff8.tar.bz2
gsoc2013-evolution-97f8a7e38f1722a7e360c6eb7a6665bdc7412ff8.tar.lz
gsoc2013-evolution-97f8a7e38f1722a7e360c6eb7a6665bdc7412ff8.tar.xz
gsoc2013-evolution-97f8a7e38f1722a7e360c6eb7a6665bdc7412ff8.tar.zst
gsoc2013-evolution-97f8a7e38f1722a7e360c6eb7a6665bdc7412ff8.zip
Preliminary subfolder support for maildirs.
svn path=/trunk/; revision=1245
Diffstat (limited to 'camel/providers/maildir/camel-maildir-store.c')
-rw-r--r--camel/providers/maildir/camel-maildir-store.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/camel/providers/maildir/camel-maildir-store.c b/camel/providers/maildir/camel-maildir-store.c
index 7c416e90b4..0e296699a9 100644
--- a/camel/providers/maildir/camel-maildir-store.c
+++ b/camel/providers/maildir/camel-maildir-store.c
@@ -91,7 +91,6 @@ _init (CamelStore *store, CamelSession *session, const gchar *url_name)
{
CamelMaildirStore *maildir_store = CAMEL_MAILDIR_STORE (store);
Gurl *store_url;
-
g_assert (url_name);
/* call parent implementation */
@@ -114,13 +113,12 @@ _get_folder (CamelStore *store, const gchar *folder_name)
CamelMaildirStore *maildir_store = CAMEL_MAILDIR_STORE (store);
CamelMaildirFolder *new_maildir_folder;
CamelFolder *new_folder;
- gchar *maildir = g_strconcat (maildir_store->toplevel_dir, G_DIR_SEPARATOR_S, folder_name, NULL);
new_maildir_folder = gtk_type_new (CAMEL_MAILDIR_FOLDER_TYPE);
new_folder = CAMEL_FOLDER (new_maildir_folder);
CF_CLASS (new_folder)->init_with_store (new_folder, store);
- CF_CLASS (new_folder)->set_name (new_folder, maildir);
+ CF_CLASS (new_folder)->set_name (new_folder, folder_name);
return new_folder;
}