diff --git a/services/shell/objecttypeservice.py b/services/shell/objecttypeservice.py index 01e387da..f9493750 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,