# HG changeset patch # User Tuomo Valkonen # Date 1518621819 0 # Node ID ad9fb3dd9fec8ae77ef41f1dea9a182c17ee9df9 # Parent 6993964140bd0e854b145d85a7ec07780b379e40 Disable Notification Centre notifications. They don't work reliably for some reason, and are in any case annoying unless the display is somehow fine-tuned. diff -r 6993964140bd -r ad9fb3dd9fec borgend/ui.py --- a/borgend/ui.py Wed Feb 07 20:39:01 2018 +0000 +++ b/borgend/ui.py Wed Feb 14 15:23:39 2018 +0000 @@ -301,17 +301,17 @@ self.refresh_timer_time=None self.refresh_timer.start() - if errorlog: - if 'msgid' not in errorlog or not isinstance(errorlog['msgid'], str): - msgid='UnknownError' - else: - msgid=errorlog['msgid'] + # if errorlog: + # if 'msgid' not in errorlog or not isinstance(errorlog['msgid'], str): + # msgid='UnknownError' + # else: + # msgid=errorlog['msgid'] - logger.debug("Opening notification for error %s '%s'", - msgid, errorlog['message']) + # logger.debug("Opening notification for error %s '%s'", + # msgid, errorlog['message']) - notification_workaround(branding.appname_stylised, - msgid, errorlog['message']) + # notification_workaround(branding.appname_stylised, + # msgid, errorlog['message']) @protect_noreturn def pause_resume_all(self):