summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/calcurse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 37c3cac..6c473c3 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -159,8 +159,6 @@ main (int argc, char **argv)
io_load_todo ();
io_load_app ();
wins_reinit ();
- if (notify_bar ())
- notify_start_main_thread ();
if (conf.system_dialogs)
{
wins_update (FLAG_ALL);
@@ -169,6 +167,10 @@ main (int argc, char **argv)
inday = *day_process_storage (0, 0, &inday);
wins_slctd_set (CAL);
wins_update (FLAG_ALL);
+
+ /* Start miscellaneous threads. */
+ if (notify_bar ())
+ notify_start_main_thread ();
calendar_start_date_thread ();
if (conf.periodic_save > 0)
io_start_psave_thread ();