aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-02-15 06:26:51 +0800
committerDan Winship <danw@src.gnome.org>2001-02-15 06:26:51 +0800
commit4029db7b4c554fb76d22d5aa8a8a841c4887d592 (patch)
tree14921b0d9ff3783dd0258c5f119d9609b0978013 /camel/providers/imap
parentcb6f0cd1110c86eca9efd3e0c90127792e4431b4 (diff)
downloadgsoc2013-evolution-4029db7b4c554fb76d22d5aa8a8a841c4887d592.tar.gz
gsoc2013-evolution-4029db7b4c554fb76d22d5aa8a8a841c4887d592.tar.zst
gsoc2013-evolution-4029db7b4c554fb76d22d5aa8a8a841c4887d592.zip
(create_folder): Oops, and fix bug involving namespaces
svn path=/trunk/; revision=8233
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-store.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index d02a2f991e..1355cedb76 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -703,10 +703,9 @@ create_folder (CamelStore *store, const char *parent_name,
CamelFolderInfo *fi;
char *full_name;
- if (parent_name)
- full_name = imap_concat (imap_store, parent_name, folder_name);
- else
- full_name = g_strdup (folder_name);
+ if (!parent_name)
+ parent_name = imap_store->namespace;
+ full_name = imap_concat (imap_store, parent_name, folder_name);
imap_create (imap_store, full_name, ex);
if (camel_exception_is_set (ex)) {
an>/+1 * Bump PORTREVISION for the icu revert.mat2016-07-071-1/+1 * devel/icu: bump PORTREVISION on dependent portsgahr2016-07-061-1/+1 * Convert a couple ports that use both _CMAKE_ON and _CMAKE_OFF to _CMAKE_BOOL.adamw2016-07-011-8/+4 * Convert USE_PHP*=yes into USES=php*mat2016-06-281-1/+1 * Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.mat2016-04-011-8/+8 * Fixup some whitespace at the beginning of lines problems.mat2016-04-011-2/+2 * Remove BROKEN for FreeBSD 8, which is no longer supported.rakuco2016-01-241-2/+0 * Drop USES=iconv.rakuco2015-08-251-2/+2 * - Mark BROKEN on 8.x: does not build due to lack of strtoullamdmi32015-06-061-0/+2 * Update icu to 55.1bapt2015-04-241-1/+1 * textproc/zorba: Modernize options, support DragonFlymarino2015-03-274-67/+90 * - Reset maintainership of my portsgahr2014-12-111-1/+1 * - Convert textproc/ to USES=pythonmva2014-12-071-1/+1 * Cleanup plistantoine2014-11-161-90/+0 * - Fix build on 9.x and above. 8.x needs some more investigation.gahr2014-09-153-8/+30 * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-111-1/+1 * Fix one error on 8 and 9. Still fails to build on those platforms.adamw2014-09-021-0/+10 * - USES=execinfogahr2014-08-082-5/+11 * Remove indefinite articles and trailing periods from COMMENT, plusolgeni2014-08-031-1/+1 * - Respect LOCALBASEgahr2014-07-242-1/+2 * - STAGE-cleangahr2014-06-276-5/+58 * The FreeBSD x11@ and graphics team proudly presentszeising2014-04-171-1/+1 * Chase boost and icu bumpbapt2014-02-071-7/+7 * - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mkohauer2013-12-311-1/+1 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * - Update to 7.31.0sunpoet2013-07-121-1/+1 * Adjust pkg-plistantoine2013-06-301-6/+6 * - Convert USE_ICONV=yes to USES=iconvmva2013-04-281-2/+1 * - Add DOCS to OPTIONS_DEFINEgahr2013-04-171-1/+1 * - Fix DOCSDIRgahr2013-04-021-3/+3 * - convert USE_CMAKE to USESmakc2013-03-231-2/+1 * Chase icu, graphite2 and libexttextcat bumpbapt2012-12-191-0/+1 * - Make sure we don't pick up the wrong xerces-c library versiongahr2012-12-041-1/+1 * - Update to 2.7.0gahr2012-11-054-24/+36 * - Update to 2.6.0gahr2012-09-2620-281/+560 * - update png to 1.5.10dinoex2012-06-011-0/+1 * - Unbreak when PORTREVISION != ""pav2012-05-161-2/+2 * - The proper acronym for Apache Software License 2 is really AL2tabthorpe2012-01-091-1/+1 * - Update to 2.0.2gahr2011-11-3017-330/+727