import gntp
import Growl

class GNTPRegister(gntp.GNTPRegister):
	def send(self):
		print 'Sending Local Registration'
		growl = Growl.GrowlNotifier(
			applicationName			= self.headers['Application-Name'],
			notifications			= self.notifications,
			defaultNotifications	= self.defaultNotifications,
		)
		growl.register()
		
class GNTPNotice(gntp.GNTPNotice):
	def send(self):
		print 'Sending Local Notification'
		growl = Growl.GrowlNotifier(
			applicationName			= self.headers['Application-Name'],
			notifications			= [self.headers['Notification-Name']]
		)
		
		noticeIcon = None
		if self.headers.get('Notification-Icon',False):
			resource = self.headers['Notification-Icon'].split('://')
			#print resource
			resource = self.resources.get(resource[1],False)
			#print resource
			if resource:
				noticeIcon = resource['Data']
		
		growl.notify(
			noteType = self.headers['Notification-Name'],
			title = self.headers['Notification-Title'],
			description=self.headers['Notification-Text'],
		)
import gntp
import Growl

class GNTPRegister(gntp.GNTPRegister):
	def send(self):
		print 'Sending Registration'
		growl = Growl.GrowlNotifier(
			applicationName			= self.headers['Application-Name'],
			notifications			= self.notifications,
			defaultNotifications	= self.defaultNotifications,
		)
		growl.register()
		
class GNTPNotice(gntp.GNTPNotice):
	def send(self):
		print 'Sending Notification'
		growl = Growl.GrowlNotifier(
			applicationName			= self.headers['Application-Name'],
			notifications			= [self.headers['Notification-Name']]
		)
		
		noticeIcon = None
		if self.headers.get('Notification-Icon',False):
			resource = self.headers['Notification-Icon'].split('://')
			#print resource
			resource = self.resources.get(resource[1],False)
			#print resource
			if resource:
				noticeIcon = resource['Data']
		
		growl.notify(
			noteType = self.headers['Notification-Name'],
			title = self.headers['Notification-Title'],
			description=self.headers['Notification-Text'],
			icon=noticeIcon
		)
--- 
+++ 
@@ -3,7 +3,7 @@
 
 class GNTPRegister(gntp.GNTPRegister):
 	def send(self):
-		print 'Sending Registration'
+		print 'Sending Local Registration'
 		growl = Growl.GrowlNotifier(
 			applicationName			= self.headers['Application-Name'],
 			notifications			= self.notifications,
@@ -13,7 +13,7 @@
 		
 class GNTPNotice(gntp.GNTPNotice):
 	def send(self):
-		print 'Sending Notification'
+		print 'Sending Local Notification'
 		growl = Growl.GrowlNotifier(
 			applicationName			= self.headers['Application-Name'],
 			notifications			= [self.headers['Notification-Name']]
@@ -32,5 +32,4 @@
 			noteType = self.headers['Notification-Name'],
 			title = self.headers['Notification-Title'],
 			description=self.headers['Notification-Text'],
-			icon=noticeIcon
 		)
Disable icon temporarily and adjust the debug print statements
