[tracker] tracker-miner-fs: resolve $HOME in config paths correctly



commit f8c779b49f16cc4cc1dddf5dfa7f7f75302e7ade
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Apr 7 17:59:37 2011 +0200

    tracker-miner-fs: resolve $HOME in config paths correctly

 src/miners/fs/tracker-config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/fs/tracker-config.c b/src/miners/fs/tracker-config.c
index 76d8ea6..860a978 100644
--- a/src/miners/fs/tracker-config.c
+++ b/src/miners/fs/tracker-config.c
@@ -532,7 +532,7 @@ settings_get_dir_mapping (GVariant *value,
 		} else if (strcmp (l->data, "&VIDEOS") == 0) {
 			path_to_use = g_get_user_special_dir (G_USER_DIRECTORY_VIDEOS);
 		} else {
-			path_to_use = NULL;
+			path_to_use = tracker_path_evaluate_name (l->data);
 		}
 
 		if (path_to_use) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]