aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-20 04:32:54 +0800
committerDan Winship <danw@src.gnome.org>2000-10-20 04:32:54 +0800
commit172f70c6412b2af09ad400d3d4da39537866c466 (patch)
tree332560fa9316f1e5764871c636c3fd15eb63a27c /mail/folder-browser-factory.c
parent24e77716ce81735b648302bc118557f2c9df273d (diff)
downloadgsoc2013-evolution-172f70c6412b2af09ad400d3d4da39537866c466.tar.gz
gsoc2013-evolution-172f70c6412b2af09ad400d3d4da39537866c466.tar.zst
gsoc2013-evolution-172f70c6412b2af09ad400d3d4da39537866c466.zip
For an imap store, just refresh the INBOX.
* mail-ops.c: (do_fetch_mail): For an imap store, just refresh the INBOX. * folder-browser-factory.c (control_deactivate): Don't sync non-existent folders. * message-list.c (nuke_uids): Don't traverse non-existent trees. svn path=/trunk/; revision=6047
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index 4733b835cd..e7b93fabc4 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -165,7 +165,8 @@ control_deactivate (BonoboControl *control,
bonobo_ui_component_rm (uic, "/", NULL);
bonobo_ui_component_unset_container (uic);
- mail_do_sync_folder (fb->folder);
+ if (fb->folder)
+ mail_do_sync_folder (fb->folder);
}
static void