[gnome-documents] documents: we now have meaningful rdf:types for SkydriveDocument



commit afcdb9954cf589fed956e7869cc9b4bd645daf13
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed May 30 23:02:59 2012 +0200

    documents: we now have meaningful rdf:types for SkydriveDocument
    
    Fixes: https://bugzilla.gnome.org/666535

 src/documents.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index 9184038..34695d1 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -876,7 +876,11 @@ SkydriveDocument.prototype = {
     updateTypeDescription: function() {
         let description;
 
-        if (this.rdfType.indexOf('nfo#DataContainer') != -1)
+        if (this.rdfType.indexOf('nfo#Spreadsheet') != -1)
+            description = _("Spreadsheet");
+        else if (this.rdfType.indexOf('nfo#Presentation') != -1)
+            description = _("Presentation");
+        else if (this.rdfType.indexOf('nfo#DataContainer') != -1)
             description = _("Collection");
         else
             description = _("Document");



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