Add journal filter for .xo bundles

Fix #1712
This commit is contained in:
Ezequiel Pereira 2013-11-18 21:41:09 -02:00 committed by Daniel Narvaez
parent 1329531d2d
commit f13a14a2b3

View File

@ -38,6 +38,7 @@ GENERIC_TYPE_IMAGE = 'Image'
GENERIC_TYPE_AUDIO = 'Audio'
GENERIC_TYPE_VIDEO = 'Video'
GENERIC_TYPE_LINK = 'Link'
GENERIC_TYPE_BUNDLE = 'Bundle'
def _get_supported_image_mime_types():
@ -84,6 +85,11 @@ _generic_types = [{
'name': _('Link'),
'icon': 'text-uri-list',
'types': ['text/x-moz-url', 'text/uri-list'],
}, {
'id': GENERIC_TYPE_BUNDLE,
'name': _('Bundle'),
'icon': 'user-documents',
'types': ['application/vnd.olpc-sugar'],
}]