Ticket #2874: 0001-Notification-alert-when-export-.xol-file-SL-2874.patch

File 0001-Notification-alert-when-export-.xol-file-SL-2874.patch, 993 bytes (added by humitos, 12 years ago)
  • xol.py

    From 9ff0f38d6df3a88f065e3824d7d9f36af45f0b22 Mon Sep 17 00:00:00 2001
    Message-Id: <9ff0f38d6df3a88f065e3824d7d9f36af45f0b22.1338591415.git.humitos@gmail.com>
    From: Manuel Kaufmann <humitos@gmail.com>
    Date: Fri, 1 Jun 2012 19:55:14 -0300
    Subject: [PATCH InfoSlicer] Notification alert when export .xol file SL #2874
    
    When the user exports the content as .xol file, a notification alert is
    shown to inform him about how to access to the exported content.
    
    Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
    ---
     xol.py |    4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/xol.py b/xol.py
    index 6b2a34f..f9eeb73 100644
    a b def publish(activity, force=False): 
    9191
    9292    book.custom.sync_index()
    9393
     94    activity.notify_alert(_('Book published to your Journal'),
     95                          _('You can read the book in Browse or ' \
     96                                'access the .xol file from your Journal'))
     97
    9498"""
    9599@author: Matthew Bailey
    96100