def addHost_cb(self, widget): ''' Add the selectedserver to the host @param widget: ''' self.toolBar.set_sensitive(False) options.OptionWindow(self, options.CONNECTION)
def showOptions(self, widget): if not self.optionWindowShown: self.optionWindowShown = True x = options.OptionWindow(self)