diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -214,6 +214,7 @@ int main(int argc, char *argv[]) #endif GObject *syl_app; PrefsAccount *new_account = NULL; + gboolean first_run = FALSE; app_init(); parse_cmd_opt(argc, argv); @@ -339,6 +340,7 @@ int main(int argc, char *argv[]) main_window_reflect_prefs_all(); if (folder_read_list() < 0) { + first_run = TRUE; setup_mailbox(); folder_write_list(); } @@ -367,6 +369,10 @@ int main(int argc, char *argv[]) g_signal_emit_by_name(syl_app, "init-done"); + if (first_run) { + setup_import(); + } + remote_command_exec(); #if USE_UPDATE_CHECK |