X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-main.c;h=563fe2992bd3ea32e68f3442a111bc19293251ad;hb=d55173872ae04706c674a3ccae30867c6473ba33;hp=9278fabf170b6867d4b210f44670e2e62b28bdc2;hpb=84a21a79f776304e1fbc6ee28be69bbf27231608;p=modest diff --git a/src/modest-main.c b/src/modest-main.c index 9278fab..563fe29 100644 --- a/src/modest-main.c +++ b/src/modest-main.c @@ -37,7 +37,7 @@ #include #include -static gboolean + static gboolean on_idle_exit_modest (gpointer data) { /* Protect the Gtk calls */ @@ -92,8 +92,7 @@ main (int argc, char *argv[]) } if (!show_ui_without_top_application_method) { - g_print ("modest: not showing UI\n"); - g_print ("modest: use 'modest showui' to start with UI\n"); + g_print ("modest: use 'modest showui' to start from cmdline with UI\n"); } if (!g_thread_supported()) @@ -152,7 +151,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 +159,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;