[gnome-documents] miner: support Google Drawings



commit f7c49166d12005100ebf97138fc35796c8fae060
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jun 26 13:36:30 2012 -0400

    miner: support Google Drawings

 configure.ac               |    2 +-
 src/miner/gd-gdata-miner.c |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 36f7d59..be4e588 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@ EVINCE_MIN_VERSION=3.3.0
 GLIB_MIN_VERSION=2.31.6
 GTK_MIN_VERSION=3.5.5
 GOBJECT_INTROSPECTION_MIN_VERSION=1.31.6
-GDATA_MIN_VERSION=0.11.0
+GDATA_MIN_VERSION=0.13.1
 GOA_MIN_VERSION=3.2.0
 CLUTTER_GTK_MIN_VERSION=1.3.2
 TRACKER_MIN_VERSION=0.13.1
diff --git a/src/miner/gd-gdata-miner.c b/src/miner/gd-gdata-miner.c
index 495261a..296e357 100644
--- a/src/miner/gd-gdata-miner.c
+++ b/src/miner/gd-gdata-miner.c
@@ -332,6 +332,8 @@ account_miner_job_process_entry (AccountMinerJob *job,
     class = "nfo:Spreadsheet";
   else if (GDATA_IS_DOCUMENTS_TEXT (doc_entry))
     class = "nfo:PaginatedTextDocument";
+  else if (GDATA_IS_DOCUMENTS_DRAWING (doc_entry))
+    class = "nfo:PaginatedTextDocument";
   else if (GDATA_IS_DOCUMENTS_FOLDER (doc_entry))
     class = "nfo:DataContainer";
  



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