[Sugar-devel] [PATCH] Enable save as PDF from Write. SL #1458
godiard at sugarlabs.org
godiard at sugarlabs.org
Thu Oct 14 15:27:31 EDT 2010
From: Gonzalo Odiard <godiard at sugarlabs.org>
This ticket have a patch writed by iwikiwi
---
widgets.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/widgets.py b/widgets.py
index ecdaf19..1e09dcc 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')
--
1.7.2.3
More information about the Sugar-devel
mailing list