diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-06-23 10:29:37 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-06-23 10:29:37 +0800 |
commit | 30f5127773cfacc67b83ead6d644db07fa817381 (patch) | |
tree | cb5e050274198e43c04239981f0315fbccf31d81 | |
parent | d12be02179f502780ab5d8219dceac8c7b2d36e9 (diff) | |
download | gsoc2013-evolution-30f5127773cfacc67b83ead6d644db07fa817381.tar gsoc2013-evolution-30f5127773cfacc67b83ead6d644db07fa817381.tar.gz gsoc2013-evolution-30f5127773cfacc67b83ead6d644db07fa817381.tar.bz2 gsoc2013-evolution-30f5127773cfacc67b83ead6d644db07fa817381.tar.lz gsoc2013-evolution-30f5127773cfacc67b83ead6d644db07fa817381.tar.xz 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
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/folder-browser.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 14c752f9a4..43c143a1a4 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +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. + 2000-06-22 Chris Toshok <toshok@helixcode.com> * folder-browser.c (folder_browser_load_folder): add handling for 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); |