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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 54f4dcede9..c036deac8b 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -227,9 +227,9 @@ static void
folder_selected_cb (EMFolderTree *emft, const char *path, const char *uri, EMFolderView *view)
{
if (!path || !strcmp (path, "/"))
- return;
-
- em_folder_view_set_folder_uri (view, uri);
+ em_folder_view_set_folder (view, NULL, NULL);
+ else
+ em_folder_view_set_folder_uri (view, uri);
}