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

def Nagstamon::nagstamonGUI::Settings::PlaySound (   self,
  playbutton = None 
)

    play sample of selected sound for Nagios Event

Definition at line 1847 of file nagstamonGUI.py.

01847                                         :
        """
            play sample of selected sound for Nagios Event
        """
        try:
            filechooser = self.glade.get_widget("input_filechooser_notification_custom_sound_" + playbutton.name)
            sound = nagstamonActions.PlaySound(sound="FILE", file=filechooser.get_filename(), conf=self.conf)
            sound.start()
        except:
            pass
        
            
class NewServer(object):


Generated by  Doxygen 1.6.0   Back to index