Esempio n. 1
0
	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)
Esempio n. 2
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. 3
0
	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)
Esempio n. 4
0
	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)
Esempio n. 5
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)
Esempio n. 6
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)