From 60e5e2918872bca5771d439578f95bb42bbe3563 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Wed, 29 Jun 2011 21:43:31 +0000 Subject: Add --with-historydir to specify where we want the history files to be stored Signed-off-by: Richard Hughes --- src/up-history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/up-history.c') 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); } /** -- cgit v1.2.1