diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-09 23:37:57 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-09 23:37:57 +0800 |
commit | 0f8c6c783deb1b2d61c81f8fb27c63ba3ebadc1b (patch) | |
tree | 6e13a481003020403586e22409fd683a80f2f99a /shell/e-shell.c | |
parent | c943d7699c3030d5cf4ccca4eae554f6eb79aaae (diff) | |
download | gsoc2013-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.c | 5 |
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; |