[gnome-documents] miner: don't forget to insert the title in the DB



commit 4ae267d0a05c5430be0c306d0dc6732e27ac8f0c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jul 21 02:25:08 2011 -0400

    miner: don't forget to insert the title in the DB

 src/miner/gd-gdata-miner.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/miner/gd-gdata-miner.c b/src/miner/gd-gdata-miner.c
index edad1c6..528ee11 100644
--- a/src/miner/gd-gdata-miner.c
+++ b/src/miner/gd-gdata-miner.c
@@ -366,6 +366,12 @@ gd_gdata_miner_process_entry (GdGDataMiner *self,
      identifier, resource,
      "nie:description", gdata_entry_get_summary (entry));
 
+  _tracker_sparql_connection_insert_or_replace_triple
+    (self->priv->connection, 
+     self->priv->cancellable, &error,
+     identifier, resource,
+     "nie:title", gdata_entry_get_title (entry));
+
   if (error != NULL)
     goto out;
 



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