aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.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-view.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-view.c')
-rw-r--r--shell/e-shell-view.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 8d83a9fca4..922d5c301c 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -247,8 +247,7 @@ init (EShellView *shell_view)
void
e_shell_view_construct (EShellView *shell_view,
- EShell *shell,
- const char *uri)
+ EShell *shell)
{
EShellViewPrivate *priv;
@@ -256,7 +255,6 @@ e_shell_view_construct (EShellView *shell_view,
g_return_if_fail (E_IS_SHELL_VIEW (shell_view));
g_return_if_fail (shell != NULL);
g_return_if_fail (E_IS_SHELL (shell));
- g_return_if_fail (uri == NULL || ! g_path_is_absolute (uri));
gnome_app_construct (GNOME_APP (shell_view), "evolution", "Evolution");
@@ -265,24 +263,20 @@ e_shell_view_construct (EShellView *shell_view,
gtk_object_ref (GTK_OBJECT (shell));
priv->shell = shell;
- priv->uri = g_strdup (uri);
-
setup_widgets (shell_view);
setup_menus (shell_view);
}
GtkWidget *
-e_shell_view_new (EShell *shell,
- const char *uri)
+e_shell_view_new (EShell *shell)
{
GtkWidget *new;
g_return_val_if_fail (shell != NULL, NULL);
g_return_val_if_fail (E_IS_SHELL (shell), NULL);
- g_return_val_if_fail (uri == NULL || ! g_path_is_absolute (uri), NULL);
new = gtk_type_new (e_shell_view_get_type ());
- e_shell_view_construct (E_SHELL_VIEW (new), shell, uri);
+ e_shell_view_construct (E_SHELL_VIEW (new), shell);
return new;
}