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

def Nagstamon::nagstamonGUI::StatusBar::Flash (   self  ) 

    Flashing notification, triggered by threaded RefreshLoop

Definition at line 926 of file nagstamonGUI.py.

00926                    :
        """
            Flashing notification, triggered by threaded RefreshLoop
        """  
        # replace statusbar label text with its inverted version
        if self.Label.get_label() == self.statusbar_labeltext:
            self.Label.set_markup(self.statusbar_labeltext_inverted) 
        else:
            self.Label.set_markup(self.statusbar_labeltext)
        
        # Windows workaround for non-automatically-shrinking desktop statusbar
        if str(self.conf.statusbar_floating) == "True":
            try:
                self.Resize()
            except:
                pass
           
        # return False to get removed as gobject idle source
        return False
    
    def Resize(self):


Generated by  Doxygen 1.6.0   Back to index