Don't like ads? PRO users don't see any ads ;-)
Guest

tracker-realignore.diff

By: a guest on Feb 9th, 2011  |  syntax: Diff  |  size: 0.66 KB  |  hits: 114  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -rup tracker-0.6.95.orig/src/trackerd/tracker-processor.c tracker-0.6.95/src/trackerd/tracker-processor.c
  2. --- tracker-0.6.95.orig/src/trackerd/tracker-processor.c        2011-02-10 02:09:46.000000000 +0100
  3. +++ tracker-0.6.95/src/trackerd/tracker-processor.c     2011-02-10 02:28:25.000000000 +0100
  4. @@ -452,6 +452,16 @@ path_should_be_ignored_for_media (Tracke
  5.  
  6.         g_list_free (roots);
  7.  
  8. +       GSList *i = tracker_config_get_no_watch_directory_roots(processor->private->config);
  9. +       for (; i && !ignore; i = i->next) {
  10. +               if (strcmp (path, i->data) == 0) {
  11. +                       ignore = TRUE;
  12. +               }
  13. +               if (g_str_has_prefix (path, i->data)) {
  14. +                       ignore = TRUE;
  15. +               }
  16. +       }
  17. +
  18.         return ignore;
  19.  }