From 72e8e40d76e572e104ab5e5db5adaacf2f58a2bb Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Thu, 28 Oct 2010 13:37:31 +0000 Subject: Add the option to export to PDF - SL #1458 Signed-Off-By: iwikiwi Reviewed-by: Martin Sevior --- (limited to 'widgets.py') diff --git a/widgets.py b/widgets.py index ecdaf19..c31a2ed 100644 --- a/widgets.py +++ b/widgets.py @@ -167,7 +167,12 @@ class ExportButton(ToolButton): {'mime_type' : 'text/plain', 'title' : _('Plain Text (TXT)'), 'jpostfix' : _('TXT'), - 'exp_props' : ''}] + 'exp_props' : ''}, + + {'mime_type': 'application/pdf', + 'title': _('Portable Document Format (PDF)'), + 'jpostfix': _('PDF'), + 'exp_props': ''}] def __init__(self, activity, abi): ToolButton.__init__(self, 'document-save') -- cgit v0.9.1