* Fixes NB#78357, new mail sound is played now with IMAP IDLE events
[modest] / src / modest-main.c
index 7e5f319..10df9ed 100644 (file)
@@ -152,7 +152,7 @@ main (int argc, char *argv[])
                gtk_widget_show_all (GTK_WIDGET(main_win));
 
                /* Remove new mail notifications if exist */
-               modest_platform_remove_new_mail_notifications ();
+               modest_platform_remove_new_mail_notifications (FALSE);
        }
        
        gtk_main ();
@@ -160,9 +160,6 @@ main (int argc, char *argv[])
 cleanup:
        gdk_threads_leave ();
 
-       /* Remove new mail notifications if exist */
-/*     modest_platform_remove_new_mail_notifications (); */
-
        if (!modest_init_uninit ()) {
                g_printerr ("modest: modest_init_uninit failed\n");
                retval = 1;