def checkNotifications(self): InfoBarNotifications.checkNotifications(self) 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)
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)
def checkNotifications(self): InfoBarNotifications.checkNotifications(self) if Notifications.notifications == []: if self.settings.afterEvent.getValue() == "close" and self.job.status == self.job.FAILED: self.close(False)
def checkNotifications(self): InfoBarNotifications.checkNotifications(self) if Notifications.notifications == []: if self.settings.afterEvent.getValue() == "close" and self.job.status == self.job.FAILED: self.close(False)
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)
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)