[polari/wip/fmuellner/combined-gsoc: 6/103] logmanager: add uri constant



commit 066f715fba8df78cc9b52b1026e029d8250bb07a
Author: Kunaal Jain <kunaalus gmail com>
Date:   Sat Jun 11 00:18:42 2016 +0530

    logmanager: add uri constant

 src/logManager.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/logManager.js b/src/logManager.js
index 0f0c80d..6c0c48a 100644
--- a/src/logManager.js
+++ b/src/logManager.js
@@ -103,6 +103,7 @@ const GenericQuery = new Lang.Class({
     _getColumnsValue: function(cursor, col) {
         switch(cursor.get_value_type(col)) {
             case Tracker.SparqlValueType.STRING:
+            case Tracker.SparqlValueType.URI:
                 return cursor.get_string(col)[0];
             case Tracker.SparqlValueType.INTEGER:
                 return cursor.get_integer(col);


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