aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index c40095ed3d..227fa3df34 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -323,9 +323,9 @@ mc_startup(MailComponent *mc)
}
static void
-folder_selected_cb (EMFolderTree *emft, const char *path, const char *uri, EMFolderView *view)
+folder_selected_cb (EMFolderTree *emft, const char *path, const char *uri, guint32 flags, EMFolderView *view)
{
- if (!path || !strcmp (path, "/"))
+ if ((flags & CAMEL_FOLDER_NOSELECT) || !path || !strcmp (path, "/"))
em_folder_view_set_folder (view, NULL, NULL);
else
em_folder_view_set_folder_uri (view, uri);