Logo Search packages:      
Sourcecode: guidance-power-manager version File versions

def guidance-power-manager::PowerManager::notify (   self,
  msg,
  icon = None 
)

Send a notification popup. 

Definition at line 605 of file guidance-power-manager.py.

00605                                     :
        """ Send a notification popup. """
        if icon:
            icon = QPixmap(icon)
        else:
            icon = QPixmap(SmallIcon("dialog-information"))
        try:
            del self.warningPopup
        except:
            pass
        KPassivePopup.message("Power Manager", msg, icon, self.systray)

    def poll(self,notify=True):


Generated by  Doxygen 1.6.0   Back to index