Esempio n. 1
0
 def checkNotifications(self):
     InfoBarNotifications.checkNotifications(self, immediate=True)
     pending = Notifications.notificationQueue.getPending("JobMananger")
     if pending:
         print("[JobView] have pending JobMananger Notification(s):",
               pending)
     elif self.settings.afterEvent.getValue(
     ) == "close" and self.job.status == self.job.FAILED:
         self.close(False)
Esempio n. 2
0
 def checkNotifications(self):
     InfoBarNotifications.checkNotifications(self)
     if not Notifications.notifications:
         if self.settings.afterEvent.value == "close" and self.job.status == self.job.FAILED:
             self.close(False)