aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-05 22:37:54 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-05 22:37:54 +0800
commit5438b275894ae095116ef0312cc687da09de248d (patch)
treee0dafe5fb37578bcba2bb15427ee3560b2cf65ad /mail/mail-ops.c
parent4495c61899a6ad87fee5cbce4e46811739cd8d3f (diff)
downloadgsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.tar.gz
gsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.tar.zst
gsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.zip
Clear the shell view label if mailer loses focus.
2001-07-05 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Clear the shell view label if mailer loses focus. * mail-ops.c (do_update_subfolders_rec): Check for NULL url before calling folder cache functions. svn path=/trunk/; revision=10804
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 5f6dd7f2e2..1ca74631d0 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -363,10 +363,12 @@ do_update_subfolders_rec (CamelStore *store, CamelFolderInfo *info, EvolutionSto
{
char *path;
- /* info->url == URI??? */
- mail_folder_cache_set_update_estorage (info->url, storage);
- mail_folder_cache_note_folderinfo (info->url, info);
-
+ if (info->url) {
+ /* info->url == URI??? */
+ mail_folder_cache_set_update_estorage (info->url, storage);
+ mail_folder_cache_note_folderinfo (info->url, info);
+ }
+
path = g_strdup_printf("%s/%s", prefix, info->name);
if (info->child)