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/widgets.py
+++ b/widgets.py
@@ -175,6 +175,11 @@ class ExportButton(ToolButton):
                        {'mime_type': 'text/plain',
                         'title': _('Plain Text (TXT)'),
                         'jpostfix': _('TXT'),
+                        'exp_props': ''},
+
+                       {'mime_type': 'application/pdf',
+                        'title'    : _('Portable Document Format (PDF)'),
+                        'jpostfix' : _('PDF'),
                         'exp_props': ''}]
 
     def __init__(self, activity, abi):
-- 
1.7.2.3

