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).
This commit is contained in:
Michael Meeks
2010-03-16 20:36:42 +00:00
parent eb50f4353e
commit ea92ec7bef

View File

@ -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)))