summaryrefslogtreecommitdiff
path: root/src/up-history.c
diff options
context:
space:
mode:
authorLandry Breuil <landry@rhaalovely.net>2011-06-29 21:43:31 +0000
committerRichard Hughes <richard@hughsie.com>2011-10-04 14:53:46 +0100
commit60e5e2918872bca5771d439578f95bb42bbe3563 (patch)
tree91bdeab850f93e4052e49468b979f1115c401ec1 /src/up-history.c
parent5b46a00a327d439fc5369e9f37ef99763d97c064 (diff)
downloadupower-60e5e2918872bca5771d439578f95bb42bbe3563.tar.gz
Add --with-historydir to specify where we want the history files to be stored
Signed-off-by: Richard Hughes <richard@hughsie.com>
Diffstat (limited to 'src/up-history.c')
-rw-r--r--src/up-history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-history.c b/src/up-history.c
index 24f9672..449b294 100644
--- a/src/up-history.c
+++ b/src/up-history.c
@@ -888,7 +888,7 @@ up_history_init (UpHistory *history)
history->priv->data_time_empty = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref);
history->priv->save_id = 0;
history->priv->max_data_age = UP_HISTORY_DEFAULT_MAX_DATA_AGE;
- history->priv->dir = g_build_filename (PACKAGE_LOCALSTATE_DIR, "lib", "upower", NULL);
+ history->priv->dir = g_build_filename (HISTORY_DIR, NULL);
}
/**