defaultLocalDir.Clear();
defaultLocalDir.Append(wxString::FromUTF8(getenv("HOME")));
defaultLocalDir.Append(wxT("/.xestiacal/accounts/"));
- defaultLocalDir.Append(wxT("Default.local"));
+ defaultLocalDir.Append(wxT("Default.Local"));
#endif
}
+ wxFile defaultCalendarDB;
+
+#if defined(__WIN32__)
+ defaultCalendarDB.Create(defaultLocalDir + "\\calendarlist.db", false, wxPOSIX_USER_READ|wxPOSIX_USER_WRITE|wxPOSIX_GROUP_READ);
+#else
+ defaultCalendarDB.Create(defaultLocalDir + "/calendarlist.db", false, wxPOSIX_USER_READ|wxPOSIX_USER_WRITE|wxPOSIX_GROUP_READ);
+#endif
+
}
-
+
}
void SetupDefaultSettings(){