From 0f8c6c783deb1b2d61c81f8fb27c63ba3ebadc1b Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 9 May 2000 15:37:57 +0000 Subject: Display the default inbox at startup, instead of an empty view. svn path=/trunk/; revision=2944 --- shell/e-shell-view.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'shell/e-shell-view.c') 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; } -- cgit v1.2.3