diff options
author | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-11-09 10:35:10 +0100 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-11-09 10:35:10 +0100 |
commit | a8352578a40067db10fee76f0c910d007311376c (patch) | |
tree | 25a566304010c9550c5d5613f7c326541c7d7301 /recipes/tracker/tracker-0.6.95/20-tracker-defaults.patch | |
parent | 44b9190fb62a6a09276c765685cc8ddde9cb201f (diff) | |
parent | 1f951c59c5218d9a4a0cf43e082365110af1b94d (diff) |
Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/tracker/tracker-0.6.95/20-tracker-defaults.patch')
-rw-r--r-- | recipes/tracker/tracker-0.6.95/20-tracker-defaults.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/tracker/tracker-0.6.95/20-tracker-defaults.patch b/recipes/tracker/tracker-0.6.95/20-tracker-defaults.patch new file mode 100644 index 0000000000..3ea607332c --- /dev/null +++ b/recipes/tracker/tracker-0.6.95/20-tracker-defaults.patch @@ -0,0 +1,30 @@ +Index: tracker-0.6.95/src/libtracker-common/tracker-config.c +=================================================================== +--- tracker-0.6.95.orig/src/libtracker-common/tracker-config.c 2009-09-30 20:33:41.664220179 +0200 ++++ tracker-0.6.95/src/libtracker-common/tracker-config.c 2009-09-30 20:34:33.990883559 +0200 +@@ -77,7 +77,7 @@ + #define DEFAULT_LOW_MEMORY_MODE FALSE + #define DEFAULT_NFS_LOCKING FALSE + #define DEFAULT_ENABLE_WATCHES TRUE +-#define DEFAULT_THROTTLE 0 /* 0->20 */ ++#define DEFAULT_THROTTLE 10 /* 0->20 */ + #define DEFAULT_ENABLE_INDEXING TRUE + #define DEFAULT_ENABLE_CONTENT_INDEXING TRUE + #define DEFAULT_ENABLE_THUMBNAILS TRUE +@@ -757,6 +757,7 @@ + gchar *language; + const gchar *watch_directory_roots[2] = { NULL, NULL }; + const gchar *empty_string_list[] = { NULL }; ++ const gchar * const disabled_modules[2] = { "evolution", NULL }; + + /* Get default values */ + language = tracker_language_get_default_code (); +@@ -867,7 +868,7 @@ + + if (overwrite || !g_key_file_has_key (key_file, GROUP_INDEXING, KEY_DISABLED_MODULES, NULL)) { + g_key_file_set_string_list (key_file, GROUP_INDEXING, KEY_DISABLED_MODULES, +- empty_string_list, 0); ++ disabled_modules, 2); + g_key_file_set_comment (key_file, GROUP_INDEXING, KEY_DISABLED_MODULES, + " List of disabled modules (separator=;)\n" + " The modules that are indexed are kept in $prefix/lib/tracker/indexer-modules", |