From eab0e41d080d8987adfc7a95adb02bf433312616 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso <tomeu@tomeuvizoso.net> Date: Thu, 5 Jul 2007 11:36:04 +0200 Subject: [PATCH] Add application/vnd.oasis.opendocument.text mime to the Text type. --- services/clipboard/objecttypeservice.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/clipboard/objecttypeservice.py b/services/clipboard/objecttypeservice.py index 97f7d906..e12398ec 100644 --- a/services/clipboard/objecttypeservice.py +++ b/services/clipboard/objecttypeservice.py @@ -31,7 +31,8 @@ class ObjectTypeRegistry(dbus.service.Object): from gettext import gettext as _ self._add_primitive('Text', _('Text'), 'theme:object-text', [ 'text/plain', 'text/rtf', 'application/pdf', - 'application/x-pdf', 'text/html' ]) + 'application/x-pdf', 'text/html', + 'application/vnd.oasis.opendocument.text' ]) self._add_primitive('Image', _('Image'), 'theme:object-image', [ 'image/png', 'image/gif', 'image/jpeg' ])