Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-05 09:36:04 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-05 09:37:51 (GMT)
commiteab0e41d080d8987adfc7a95adb02bf433312616 (patch)
treed7c68e6930dc121178d52ce1d3d76469d16f58df
parent408b601c0ef7b4bdbdb4fc5667900f08731c6817 (diff)
Add application/vnd.oasis.opendocument.text mime to the Text type.
-rw-r--r--services/clipboard/objecttypeservice.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/clipboard/objecttypeservice.py b/services/clipboard/objecttypeservice.py
index 97f7d90..e12398e 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' ])