2006-01-15 [colin] 1.9.100cvs153
[claws.git] / src / main.c
index 11e91c569783f15e25e9cfa9b7334af17d1ffc95..c4147e3c2dd5928e1900fe24ef306505c18354f8 100644 (file)
@@ -521,6 +521,15 @@ int main(int argc, char *argv[])
 
        plugin_load_all("GTK2");
        
+       if (!folder_have_mailbox()) {
+               alertpanel_error(_("Sylpheed-Claws has detected a configured "
+                                  "mailbox, but could not load it. It is "
+                                  "probably provided by an out-of-date "
+                                  "external plugin. Please reinstall the "
+                                  "plugin and try again."));
+               exit(1);
+       }
+       
        static_mainwindow = mainwin;
 
 #ifdef HAVE_STARTUP_NOTIFICATION