Exemplo n.º 1
0
	def __init__(self,appname,iconname=None):
		_icon = None
		if iconname:
			_icon = open(iconname).read()
		_Notifier.__init__(
			self,
			applicationName = appname,
			notifications = GROWL_NOTIFICATIONS,
			defaultNotifications = GROWL_NOTIFICATIONS,
			applicationIcon = _icon
		)
Exemplo n.º 2
0
 def __init__(self):
     GrowlNotifier.__init__(self,
         applicationName='Nose',
         notifications=['Nose', 'Success', 'Failure']
     )