aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-09 23:37:57 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-09 23:37:57 +0800
commit0f8c6c783deb1b2d61c81f8fb27c63ba3ebadc1b (patch)
tree6e13a481003020403586e22409fd683a80f2f99a /shell/e-shell.c
parentc943d7699c3030d5cf4ccca4eae554f6eb79aaae (diff)
downloadgsoc2013-evolution-0f8c6c783deb1b2d61c81f8fb27c63ba3ebadc1b.tar.gz
gsoc2013-evolution-0f8c6c783deb1b2d61c81f8fb27c63ba3ebadc1b.tar.zst
gsoc2013-evolution-0f8c6c783deb1b2d61c81f8fb27c63ba3ebadc1b.zip
Display the default inbox at startup, instead of an empty view.
svn path=/trunk/; revision=2944
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 1223fc3e33..fd61108a5f 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -254,11 +254,14 @@ e_shell_new_view (EShell *shell,
g_return_val_if_fail (shell != NULL, NULL);
g_return_val_if_fail (E_IS_SHELL (shell), NULL);
- view = e_shell_view_new (shell, uri);
+ view = e_shell_view_new (shell);
gtk_widget_show (view);
gtk_signal_connect (GTK_OBJECT (view), "destroy", GTK_SIGNAL_FUNC (view_destroy_cb), shell);
+ if (uri != NULL)
+ e_shell_view_display_uri (E_SHELL_VIEW (view), uri);
+
shell->priv->views = g_list_prepend (shell->priv->views, view);
return view;