178 msgid=errorlog['msgid'] |
178 msgid=errorlog['msgid'] |
179 |
179 |
180 logger.debug("Opening notification for error %s '%s'", |
180 logger.debug("Opening notification for error %s '%s'", |
181 msgid, errorlog['message']) |
181 msgid, errorlog['message']) |
182 |
182 |
183 notification_workaround('Borgend', msgid, errorlog['message']) |
183 notification_workaround(appname_stylised, |
|
184 msgid, errorlog['message']) |
184 |
185 |
185 def my_quit(self, _): |
186 def my_quit(self, _): |
186 rumps.quit_application() |
187 rumps.quit_application() |
187 |
188 |
188 def __menu_select_backup(self, sender, b): |
189 def __menu_select_backup(self, sender, b): |
191 try: |
192 try: |
192 b.create(None) |
193 b.create(None) |
193 except Exception as err: |
194 except Exception as err: |
194 logger.debug("Opening notification for exception %s '%s'", |
195 logger.debug("Opening notification for exception %s '%s'", |
195 err.__class__.__name__, str(err)) |
196 err.__class__.__name__, str(err)) |
196 notification_workaround('Borgend', err.__class__.__name__, str(err)) |
197 notification_workaround(appname_stylised, |
|
198 err.__class__.__name__, str(err)) |
197 |
199 |
198 @rumps.notifications |
200 @rumps.notifications |
199 def notification_center(data): |
201 def notification_center(data): |
200 pass |
202 pass |
201 |
203 |