Ticket #1458: 0007-Add-the-option-to-export-to-PDF-SL-1458.patch

File 0007-Add-the-option-to-export-to-PDF-SL-1458.patch, 982 bytes (added by godiard, 14 years ago)
  • widgets.py

    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): 
    175175                       {'mime_type': 'text/plain',
    176176                        'title': _('Plain Text (TXT)'),
    177177                        'jpostfix': _('TXT'),
     178                        'exp_props': ''},
     179
     180                       {'mime_type': 'application/pdf',
     181                        'title'    : _('Portable Document Format (PDF)'),
     182                        'jpostfix' : _('PDF'),
    178183                        'exp_props': ''}]
    179184
    180185    def __init__(self, activity, abi):