[tracker] Fixes GB#613977, many text mime types are not fully extracted



commit cf360bb434cac8bf79cf389c132b4e260a21d8bf
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Mar 31 11:37:58 2010 +0100

    Fixes GB#613977, many text mime types are not fully extracted

 src/tracker-extract/tracker-extract-text.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-text.c b/src/tracker-extract/tracker-extract-text.c
index 07ba599..785e10b 100644
--- a/src/tracker-extract/tracker-extract-text.c
+++ b/src/tracker-extract/tracker-extract-text.c
@@ -36,13 +36,7 @@ static void extract_text (const gchar          *uri,
                           TrackerSparqlBuilder *metadata);
 
 static TrackerExtractData data[] = {
-	{ "text/plain",       extract_text },
-	{ "text/x-authors",   extract_text },
-	{ "text/x-changelog", extract_text },
-	{ "text/x-copying",   extract_text },
-	{ "text/x-credits",   extract_text },
-	{ "text/x-install",   extract_text },
-	{ "text/x-readme",    extract_text },
+	{ "text/*", extract_text },
 	{ NULL, NULL }
 };
 



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