def open_edit_vhost_window(self, vhost): if not vhost.is_editable(): # Use generic editor instead gew = EditGenericWindow() gew.load( vhost.get_source_filename() ) gew.run() else: new_vhost_window = VirtualHostWindow ( self ) new_vhost_window.load( vhost ) new_vhost_window.run() self.refresh_config_test()
def open_edit_vhost_window(self, vhost): if not vhost.is_editable(): # Use generic editor instead gew = EditGenericWindow() gew.load(vhost.get_source_filename()) gew.run() else: new_vhost_window = VirtualHostWindow(self) new_vhost_window.load(vhost) new_vhost_window.run() self.refresh_config_test()
def new_button_clicked(self, widget): new_vhost_window = VirtualHostWindow(self) new_vhost_window.load("") new_vhost_window.run() self.refresh_config_test()
def new_button_clicked(self, widget): new_vhost_window = VirtualHostWindow ( self ) new_vhost_window.load("") new_vhost_window.run() self.refresh_config_test()