From a9dbf6ae59eaf1b31c1032bf171bf022d03c043e Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Sat, 8 Sep 2007 14:28:23 +0200 Subject: [PATCH] #2653: Add audio/wav and audio/x-wav as Audio objects. --- NEWS | 1 + services/shell/objecttypeservice.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index bd6cbf84..4fcd2f6f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +* #2653: Add audio/wav and audio/x-wav as Audio objects. (tomeu) * Support moving of data files written to the datastore using standard Activity write_file() API (dcbw) diff --git a/services/shell/objecttypeservice.py b/services/shell/objecttypeservice.py index 8a04d61f..4e806d4a 100644 --- a/services/shell/objecttypeservice.py +++ b/services/shell/objecttypeservice.py @@ -40,7 +40,7 @@ class ObjectTypeRegistry(dbus.service.Object): ['image/png', 'image/gif', 'image/jpeg']) self._add_primitive('Audio', _('Audio'), 'audio-x-generic', - ['audio/ogg']) + ['audio/ogg', 'audio/x-wav', 'audio/wav']) self._add_primitive('Video', _('Video'), 'video-x-generic', ['video/ogg', 'application/ogg'])