From ea92ec7befd577466f40b4f68c378a6b30bed8da Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 16 Mar 2010 20:36:42 +0000 Subject: Don't use the previous stored default shell type in express mode. This avoids closing the mail, then addressbook, and getting only an addressbook when re-run (with no switchers in express mode). --- shell/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shell/main.c b/shell/main.c index ecb8e1b73d..e3d69412a6 100644 --- a/shell/main.c +++ b/shell/main.c @@ -247,8 +247,11 @@ idle_cb (gchar **uris) else if (uris != NULL && *uris != NULL) { if (e_shell_handle_uris (shell, uris, import_uris) == 0) gtk_main_quit (); - } else + } else { + if (express_mode && requested_view == NULL) + requested_view = "mail"; e_shell_create_shell_window (shell, requested_view); + } /* If another Evolution process is running, we're done. */ if (unique_app_is_running (UNIQUE_APP (shell))) -- cgit v1.2.3