[libchamplain/libchamplain-0-4] Also change path of cache db
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain/libchamplain-0-4] Also change path of cache db
- Date: Fri, 29 Jan 2010 02:52:02 +0000 (UTC)
commit daa9562b4c55faf32c79fbbbd957cd0ca164a96d
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date: Mon Jan 25 15:15:55 2010 -0500
Also change path of cache db
champlain/champlain-cache.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-cache.c b/champlain/champlain-cache.c
index fc4bf4c..bded45d 100644
--- a/champlain/champlain-cache.c
+++ b/champlain/champlain-cache.c
@@ -210,8 +210,12 @@ champlain_cache_init (ChamplainCache *self)
priv->popularity_queue = NULL;
priv->popularity_id = 0;
+#ifdef USE_MAEMO
+ filename = g_strdup_printf ("/home/user/MyDocs/.maps/champlain-cache.db");
+#else
filename = g_build_filename (g_get_user_cache_dir (), "champlain",
"cache.db", NULL);
+#endif
champlain_cache_set_size_limit (self, 100000000);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]