Logo Search packages:      
Sourcecode: viridian version File versions  Download package

def AmpacheTools::AmpacheGUI::AmpacheGUI::set_tray_icon (   self,
  pixbuf 
)
Set the tray icon to a pixbuf.

Definition at line 2940 of file AmpacheGUI.py.

                                     :
            """Set the tray icon to a pixbuf."""
            if hasattr(self, 'tray_icon'):
                  if pixbuf == None:
                        self.tray_icon.set_from_pixbuf(self.images_pixbuf_viridian_app)
                  else:
                        self.tray_icon.set_from_pixbuf(pixbuf)
                  return True
            return False
                  


Generated by  Doxygen 1.6.0   Back to index