~woutc/specto/specto-woutc-fake-gconf

« back to all changes in this revision

Viewing changes to spectlib/balloons.py

  • Committer: nekohayo
  • Date: 2007-03-14 03:18:57 UTC
  • Revision ID: svn-v3-trunk0:cc143b5f-0d1a-0410-b6b4-bdbe827cf625:trunk:88
    * clean up, rewrite a portion of port watch into something simpler
    * more themable icons
    * port watch is now available in the GUI, please test it. Fixes issue #32

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
            self.toast.set_timeout(self.timeout)
57
57
        self.toast.set_urgency(self._Urgencies[urgency])
58
58
        if icon:
59
 
            self.toast.set_property('icon-name', icon)
 
59
            #self.toast.set_property('icon-name', icon)#we now use a pixbuf in the line below to allow themable icons
 
60
            self.toast.set_icon_from_pixbuf(icon)
60
61
            
61
62
        if x!=0 and y!=0:#grab the x and y position of the tray icon and make the balloon emerge from it
62
63
            self.toast.set_hint("x", x)