[tracker/pushplugin] evolution: Fix insert_close after subject when building SPARQL
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/pushplugin] evolution: Fix insert_close after subject when building SPARQL
- Date: Mon, 21 Sep 2009 07:52:28 +0000 (UTC)
commit d2e9ca62979cf4e26e4827dc0e4406987fce2bf4
Author: Jürg Billeter <j bitron ch>
Date: Mon Sep 21 09:51:23 2009 +0200
evolution: Fix insert_close after subject when building SPARQL
src/plugins/evolution/tracker-evolution-plugin.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c b/src/plugins/evolution/tracker-evolution-plugin.c
index e4fd627..cac4905 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -581,10 +581,10 @@ on_folder_summary_changed (CamelFolder *folder,
process_fields (sparql, uid, flags, sent, subject,
from, to, cc, size, folder, uri);
- tracker_sparql_builder_subject_iri (sparql, uri);
-
cflags = camel_message_info_user_flags (linfo);
while (cflags) {
+ tracker_sparql_builder_subject_iri (sparql, uri);
+
tracker_sparql_builder_predicate (sparql, "nao:hasTag");
tracker_sparql_builder_object_blank_open (sparql);
@@ -600,6 +600,8 @@ on_folder_summary_changed (CamelFolder *folder,
ctags = camel_message_info_user_tags (linfo);
while (ctags) {
+ tracker_sparql_builder_subject_iri (sparql, uri);
+
tracker_sparql_builder_predicate (sparql, "nao:hasProperty");
tracker_sparql_builder_object_blank_open (sparql);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]