aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-06-23 10:29:37 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-06-23 10:29:37 +0800
commit30f5127773cfacc67b83ead6d644db07fa817381 (patch)
treecb5e050274198e43c04239981f0315fbccf31d81 /mail/folder-browser.c
parentd12be02179f502780ab5d8219dceac8c7b2d36e9 (diff)
downloadgsoc2013-evolution-30f5127773cfacc67b83ead6d644db07fa817381.tar.gz
gsoc2013-evolution-30f5127773cfacc67b83ead6d644db07fa817381.tar.zst
gsoc2013-evolution-30f5127773cfacc67b83ead6d644db07fa817381.zip
Now should correctly get the selected folder from the given URL.
2000-06-22 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (folder_browser_load_folder): Now should correctly get the selected folder from the given URL. svn path=/trunk/; revision=3704
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 0220252e59..d1e81f22c7 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -119,11 +119,12 @@ folder_browser_load_folder (FolderBrowser *fb, const char *name)
for (ptr = (char *)(name + 7); *ptr && *ptr != '/'; ptr++);
if (*ptr == '/') {
if (url && url->path) {
- fprintf (stderr, "namespace = %s\n", url->path);
+ fprintf (stderr, "namespace = %s\n", url->path + 1);
ptr += strlen (url->path);
}
- ptr++;
+ for ( ; *ptr && *ptr == '/'; ptr++);
+
folder_name = g_strdup (ptr);
fprintf (stderr, "getting folder: %s\n", folder_name);
deaadf74303780d1dcc3d'>change the libtool version to use from 1.3 to 1.5oliver2005-06-042-1/+7 * Apply a big libtool patch to allow porters to use the libtool installed bymarcus2004-07-101-1/+1 * - Populate new category x11-themes with some suitable candidatespav2004-06-021-1/+1 * Tidy up whitespace.trevor2004-04-111-1/+1 * SIZEify.trevor2004-03-181-0/+1 * Whoa there, boy, that's a mighty big commit y'all have there...ade2004-03-141-1/+1 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * Let be hohest: I really don't have a time now to properly maintain allsobomax2003-07-291-1/+1 * Remove USE_GNOMENG.marcus2003-04-211-1/+0 * Clear moonlight beckons.ade2003-03-072-1/+1 * Update after MASTER_SITE_THEMES move to freshmeat. New subdir structurearved2003-02-152-3/+3 * Deploy USE_GNOMENG infrastructurelioux2002-09-021-1/+2