[gnome-documents/wip/skydrive: 20/28] documents: we now have meaningful rdf:types for SkydriveDocument



commit f207819eccb0000d5dd866e6ebe5c1ea4b084dbd
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 0643e82..570e6f9 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -889,7 +889,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]