Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--services/shell/objecttypeservice.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/services/shell/objecttypeservice.py b/services/shell/objecttypeservice.py
index 01e387d..f949375 100644
--- a/services/shell/objecttypeservice.py
+++ b/services/shell/objecttypeservice.py
@@ -33,9 +33,12 @@ class ObjectTypeRegistry(dbus.service.Object):
self._add_primitive('Text', _('Text'), 'theme:text',
[ 'text/plain', 'text/rtf', 'application/pdf',
'application/x-pdf', 'text/html',
- 'application/vnd.oasis.opendocument.text' ])
+ 'application/vnd.oasis.opendocument.text',
+ 'application/rtf', 'text/rtf' ])
self._add_primitive('Image', _('Image'), 'theme:image',
[ 'image/png', 'image/gif', 'image/jpeg' ])
+ self._add_primitive('Audio', _('Audio'), 'theme:audio', [ 'audio/ogg' ])
+ self._add_primitive('Video', _('Video'), 'theme:video', [ 'video/ogg' ])
def _add_primitive(self, type_id, name, icon, mime_types):
object_type = {'type_id': type_id,