[gnome-documents] tracker-utils: set nie:title when changing document name
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] tracker-utils: set nie:title when changing document name
- Date: Fri, 24 Aug 2012 15:53:51 +0000 (UTC)
commit 9d06c806abf0ceb5ba4ddb0335f5299c487794b2
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Aug 24 17:52:05 2012 +0200
tracker-utils: set nie:title when changing document name
Changing nfo:fileName is just wrong.
src/trackerUtils.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/trackerUtils.js b/src/trackerUtils.js
index e7156e0..c7d5c8e 100644
--- a/src/trackerUtils.js
+++ b/src/trackerUtils.js
@@ -24,7 +24,7 @@ const GLib = imports.gi.GLib;
const Global = imports.global;
function setEditedName(newTitle, docId, callback) {
- let sparql = ('INSERT OR REPLACE { <%s> nfo:fileName\"%s\" }'.format(docId, newTitle));
+ let sparql = ('INSERT OR REPLACE { <%s> nie:title \"%s\" }'.format(docId, newTitle));
Global.connectionQueue.update(sparql, null,
function(object, res) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]