- /* Remove new mail notifications if exist */
- modest_platform_remove_new_mail_notifications (FALSE);
- } else {
- if (shutdown_timeout > 0) {
- modest_runtime_set_allow_shutdown (FALSE);
- shutdown_timeout_id = g_timeout_add_seconds (shutdown_timeout * 60, shutdown_timeout_handler, NULL);
- }