aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 25a7d5903a..3cf7043183 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -644,7 +644,9 @@ e_shell_restore_from_settings (EShell *shell)
gconf_error_destroy (err);
return FALSE;
}
-
+ if (num_views == 0)
+ return FALSE;
+
retval = TRUE;
for (i = 0; i < num_views; i++) {