diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-10-28 13:37:31 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-10-28 13:37:31 (GMT) |
commit | 72e8e40d76e572e104ab5e5db5adaacf2f58a2bb (patch) | |
tree | 20b0d10efbf8bb8e427e5a53ef72be996f076fa1 /widgets.py | |
parent | b79ed63fc6a6abd8b01e93d19ba0529e590130c9 (diff) |
Add the option to export to PDF - SL #1458
Signed-Off-By: iwikiwi <vamsi.davuluri@gmail.com>
Reviewed-by: Martin Sevior <msevior@gmail.com>
Diffstat (limited to 'widgets.py')
-rw-r--r-- | widgets.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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') |