aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c
index cab1d3c5ad..1f98b2a7aa 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -374,6 +374,8 @@ idle_cb (void *data)
}
have_evolution_uri = FALSE;
+ displayed_any = FALSE;
+
for (p = uri_list; p != NULL; p = p->next) {
const char *uri;
@@ -397,12 +399,12 @@ idle_cb (void *data)
if (! have_evolution_uri) {
e_shell_create_view (shell, NULL, NULL);
display_default = TRUE;
+ displayed_any = TRUE;
} else {
display_default = FALSE;
}
}
- displayed_any = FALSE;
for (p = uri_list; p != NULL; p = p->next) {
const char *uri;