From c1b5c8d39620a8d0750c0dbbccc01a6f93c76a4d Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 18 Aug 2020 15:50:07 +0200 Subject: Change crash notication message --- ayatanawebmail/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ayatanawebmail') diff --git a/ayatanawebmail/application.py b/ayatanawebmail/application.py index 4c1ba92..a4f4f49 100755 --- a/ayatanawebmail/application.py +++ b/ayatanawebmail/application.py @@ -1129,7 +1129,7 @@ class AyatanaWebmail(object): logger.error('"{0}:{1}" could not connect: {2}'.format(oConnection.strLogin, oConnection.strFolder, str(oException))) oNotification = Notify.Notification.new(_('Connection error'), '', APPNAME) - oNotification.set_property('body', _('Unable to connect to account "{accountName}", the application will now exit.').format(accountName=oConnection.strLogin) + '\n\n' + _('You can run "{command}" to delete all your login settings.').format(command='ayatana-webmail-reset')) + oNotification.set_property('body', _('Unable to connect to account "{accountName}", the application will now exit.').format(accountName=oConnection.strLogin)) oNotification.set_hint('desktop-entry', GLib.Variant.new_string(APPNAME)) oNotification.set_timeout(Notify.EXPIRES_NEVER) oNotification.show() -- cgit v1.2.3