Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/widgets.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2010-10-28 13:37:31 (GMT)
committer Gonzalo Odiard <godiard@sugarlabs.org>2010-10-28 13:37:31 (GMT)
commit72e8e40d76e572e104ab5e5db5adaacf2f58a2bb (patch)
tree20b0d10efbf8bb8e427e5a53ef72be996f076fa1 /widgets.py
parentb79ed63fc6a6abd8b01e93d19ba0529e590130c9 (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.py7
1 files changed, 6 insertions, 1 deletions
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')