[gnome-documents] miner: insert SkyDrive name as nfo:fileName



commit 02655c17ae7e632bb5308716e5d813617db7c4ae
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed May 30 18:20:19 2012 +0200

     miner: insert SkyDrive name as nfo:fileName
    
    Fixes: https://bugzilla.gnome.org/666535

 src/miner/gd-zpj-miner.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/miner/gd-zpj-miner.c b/src/miner/gd-zpj-miner.c
index 2a591cb..07a35ba 100644
--- a/src/miner/gd-zpj-miner.c
+++ b/src/miner/gd-zpj-miner.c
@@ -334,6 +334,15 @@ account_miner_job_process_entry (AccountMinerJob *job,
   if (*error != NULL)
     goto out;
 
+  gd_miner_tracker_sparql_connection_insert_or_replace_triple
+    (job->connection,
+     job->cancellable, error,
+     job->datasource_urn, resource,
+     "nfo:fileName", zpj_skydrive_entry_get_name (entry));
+
+  if (*error != NULL)
+    goto out;
+
   contact_resource = _tracker_utils_ensure_contact_resource
     (job->connection,
      job->cancellable, error,



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