diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-06-21 05:11:07 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-06-21 05:11:07 +0800 |
commit | 9272361bba93ad292ebd148e3d3ba3a9ea9bd349 (patch) | |
tree | f3aacb178e26c2ad70a02e17ddc856523fcaf638 /mail/folder-browser.c | |
parent | 8f881bd9d5bf26d3534174fa238030e8026ff749 (diff) | |
download | gsoc2013-evolution-9272361bba93ad292ebd148e3d3ba3a9ea9bd349.tar gsoc2013-evolution-9272361bba93ad292ebd148e3d3ba3a9ea9bd349.tar.gz gsoc2013-evolution-9272361bba93ad292ebd148e3d3ba3a9ea9bd349.tar.bz2 gsoc2013-evolution-9272361bba93ad292ebd148e3d3ba3a9ea9bd349.tar.lz gsoc2013-evolution-9272361bba93ad292ebd148e3d3ba3a9ea9bd349.tar.xz gsoc2013-evolution-9272361bba93ad292ebd148e3d3ba3a9ea9bd349.tar.zst gsoc2013-evolution-9272361bba93ad292ebd148e3d3ba3a9ea9bd349.zip |
Only fetch the summary if the folder summary doesn't already exist. When
2000-06-20 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c (imap_get_summary): Only
fetch the summary if the folder summary doesn't already exist.
When the summary *does* exist, start fetching from 1, not 0.
(imap_free_summary): Don't do anything here.
(imap_finalize): Free the summary here instead of in
imap_free_summary().
* camel-url.c (check_equal): No need to check s1 if s2 is NULL
(camel_url_equal): Don't check the passwd component of the url.
and in mail/component-factory.c (create_imap_storage): removal of
debug statements
mail/folder-browser.c (folder_browser_load_folder): improved imap
service parser
svn path=/trunk/; revision=3649
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 613a3b00fa..b8b9287d08 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -105,8 +105,9 @@ folder_browser_load_folder (FolderBrowser *fb, const char *name) char *service, *ptr; fprintf (stderr, "\n****** name = %s ******\n\n", name); - service = g_strdup (name); + service = g_strdup_printf ("%s/", name); for (ptr = service + 7; *ptr && *ptr != '/'; ptr++); + ptr++; *ptr = '\0'; fprintf (stderr, "\n****** service = %s ******\n\n", service); store = camel_session_get_store (session, service, ex); |