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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 7733752c30..62c891e2f8 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -938,7 +938,8 @@ e_shell_create_view (EShell *shell,
GTK_SIGNAL_FUNC (view_destroy_cb), shell);
if (uri != NULL)
- e_shell_view_display_uri (E_SHELL_VIEW (view), uri);
+ if (!e_shell_view_display_uri (E_SHELL_VIEW (view), uri))
+ e_shell_view_display_uri (E_SHELL_VIEW (view), DEFAULT_URI);
shell->priv->views = g_list_prepend (shell->priv->views, view);