[tracker/harmattan: 1290/2240] Updated to include MyDocs top level dir



commit f832117b2c9ef1f5eed154920b574d160bea73bc
Author: Martyn Russell <martyn lanedo com>
Date:   Fri Oct 9 16:40:40 2009 +0100

    Updated to include MyDocs top level dir

 debian/patches/02-default-config.patch |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/debian/patches/02-default-config.patch b/debian/patches/02-default-config.patch
index cfe68fb..3c600f4 100644
--- a/debian/patches/02-default-config.patch
+++ b/debian/patches/02-default-config.patch
@@ -1,5 +1,5 @@
 diff --git a/src/tracker-miner-fs/tracker-config.c b/src/tracker-miner-fs/tracker-config.c
-index fd2463a..b881936 100644
+index fd2463a..f354ebc 100644
 --- a/src/tracker-miner-fs/tracker-config.c
 +++ b/src/tracker-miner-fs/tracker-config.c
 @@ -41,7 +41,7 @@
@@ -20,30 +20,31 @@ index fd2463a..b881936 100644
  #define DEFAULT_INDEX_ON_BATTERY_FIRST_TIME      TRUE
  #define DEFAULT_LOW_DISK_SPACE_LIMIT		 1	  /* 0->100 / -1 */
  
-@@ -588,6 +588,22 @@ config_create_with_defaults (TrackerConfig *config,
+@@ -588,6 +588,23 @@ config_create_with_defaults (TrackerConfig *config,
  		case G_TYPE_POINTER:
  			/* Special case string lists */
  			if (g_strcmp0 (conversions[i].property, "index-recursive-directories") == 0) {
 +#define MAEMO
 +#ifdef  MAEMO
 +				const gchar *string_list[] = {
-+					"$HOME/MyDocs/.sounds/",
-+					"$HOME/MyDocs/.documents/",
-+					"$HOME/MyDocs/.videos/",
-+					"$HOME/MyDocs/.images/",
-+					"$HOME/MyDocs/.camera/",
++					"$HOME/MyDocs",
++					"$HOME/MyDocs/.sounds",
++					"$HOME/MyDocs/.documents",
++					"$HOME/MyDocs/.videos",
++					"$HOME/MyDocs/.images",
++					"$HOME/MyDocs/.camera",
 +				};
 +
-+				g_key_file_set_string_list (key_file, 
-+							    conversions[i].group, 
-+							    conversions[i].key, 
-+							    string_list, 
++				g_key_file_set_string_list (key_file,
++							    conversions[i].group,
++							    conversions[i].key,
++							    string_list,
 +							    G_N_ELEMENTS (string_list));
 +#else  /* MAEMO */
  				/* Since we can't know if
  				 * $HOME/.config/user-dirs.dirs exists
  				 * or not, we check that the GLib API
-@@ -658,8 +674,12 @@ config_create_with_defaults (TrackerConfig *config,
+@@ -658,8 +675,12 @@ config_create_with_defaults (TrackerConfig *config,
  							    g_strv_length (string_list));
  
  				g_strfreev (string_list);



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