Changeset 29742

Show
Ignore:
Timestamp:
02/09/09 11:29:49 (4 years ago)
Author:
tima
Message:

crochet - Growl 動作時に動かないバグを除去

Location:
lang/python/crochet
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/python/crochet/notify.py

    r29740 r29742  
    22# growlとか通知関連のモジュール 
    33# さらにnotify_growl, notify_pyあたりに分ける? 
     4import time 
    45 
    56try: 
     
    78        g_notifyObject = notify_growl.GrowlNotify() 
    89        print "use Growl" 
     10        time.sleep(2) 
    911except: 
    1012        print "not found:Growl sdk" 
  • lang/python/crochet/notify_growl.py

    r29682 r29742  
    88                self.g.register() 
    99                self.img = Growl.Image.imageFromPath('reply.png') 
    10         def Notify(self, title, desc, img): 
     10        def Notify(self, gtitle, gdescription, img): 
    1111                if( img != False ): 
    1212                        self.g.notify(noteType='newTwit',title=gtitle,