Use ~/.cache/... for cache files (issue 136)

This commit is contained in:
rinni
2010-06-06 15:08:54 -06:00
parent 99f8b14bc1
commit bb6d008770

View File

@@ -422,7 +422,7 @@ void Options::load () {
g_mkdir_with_parents (profdir.c_str(), 511);
options.saveToFile (rtdir + "/options");
}
cacheBaseDir = rtdir + "/cache";
cacheBaseDir = Glib::ustring(g_get_user_cache_dir()) + "/cache";
}
Glib::ustring fname = argv0+"/languages/";