[tracker/rss-enclosures] tracker-miner-applications: when defaulting to application, include nie:dataSource
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] tracker-miner-applications: when defaulting to application, include nie:dataSource
- Date: Wed, 24 Nov 2010 02:33:47 +0000 (UTC)
commit bab7e714061ad5ab4c7cf34bb66aaf3f5021442f
Author: Aleksander Morgado <aleksander lanedo com>
Date: Wed Nov 17 11:19:04 2010 +0100
tracker-miner-applications: when defaulting to application, include nie:dataSource
src/miners/fs/tracker-miner-applications.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-applications.c b/src/miners/fs/tracker-miner-applications.c
index 222cb2a..dd4f7fa 100644
--- a/src/miners/fs/tracker-miner-applications.c
+++ b/src/miners/fs/tracker-miner-applications.c
@@ -456,6 +456,9 @@ process_desktop_file (ProcessApplicationData *data,
tracker_sparql_builder_object (sparql, "nfo:SoftwareApplication");
tracker_sparql_builder_object (sparql, "nie:DataObject");
+ tracker_sparql_builder_predicate (sparql, "nie:dataSource");
+ tracker_sparql_builder_object_iri (sparql, APPLICATION_DATASOURCE_URN);
+
if (name) {
/* If we got a name, then the issue comes from the type.
* As we're defaulting to Application here, we just g_debug() the problem. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]