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

def Nagstamon::nagstamonGUI::StatusBar::MenuResponse (   self,
  widget,
  menu_entry 
)

    responses for the context menu for label in statusbar

Definition at line 759 of file nagstamonGUI.py.

00759                                               :
        """
            responses for the context menu for label in statusbar
        """
        if menu_entry == "Refresh": nagstamonActions.RefreshAllServers(servers=self.output.servers, output=self.output, conf=self.conf)
        if menu_entry == "Settings...": Settings(servers=self.output.servers, output=self.output, conf=self.conf)
        if menu_entry == "Save position": self.conf.SaveConfig()
        if menu_entry == "About": self.output.AboutDialog()
        if menu_entry == "Exit": 
            self.conf.SaveConfig()
            gtk.main_quit()
            

    def Clicked(self, widget=None, event=None):


Generated by  Doxygen 1.6.0   Back to index