From efcfa32a78a51cea8ec84771e7e2164b11a6b670 Mon Sep 17 00:00:00 2001
From: Gonzalo Odiard <godiard@sugarlabs.org>
Date: Tue, 26 Oct 2010 09:27:30 -0300
Subject: [PATCH 7/8] Add the option to export to PDF - SL #1458
Signed-Off-By: iwikiwi <vamsi.davuluri@gmail.com>
---
widgets.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/widgets.py b/widgets.py
index ce2a601..0648bae 100644
a
|
b
|
class ExportButton(ToolButton): |
175 | 175 | {'mime_type': 'text/plain', |
176 | 176 | 'title': _('Plain Text (TXT)'), |
177 | 177 | 'jpostfix': _('TXT'), |
| 178 | 'exp_props': ''}, |
| 179 | |
| 180 | {'mime_type': 'application/pdf', |
| 181 | 'title' : _('Portable Document Format (PDF)'), |
| 182 | 'jpostfix' : _('PDF'), |
178 | 183 | 'exp_props': ''}] |
179 | 184 | |
180 | 185 | def __init__(self, activity, abi): |