Esempio n. 1
0
    def tcp_proxy(self):
        def _set(tcp):
            self.master.set_tcp_filter(tcp)
            signals.update_settings.send(self)

        self.master.view_grideditor(
            grideditor.HostPatternEditor(self.master,
                                         self.master.get_tcp_filter(), _set))
Esempio n. 2
0
    def ignorepatterns(self):
        def _set(ignore):
            self.master.set_ignore_filter(ignore)
            signals.update_settings.send(self)

        self.master.view_grideditor(
            grideditor.HostPatternEditor(self.master,
                                         self.master.get_ignore_filter(),
                                         _set))
Esempio n. 3
0
 def ignore_hosts(self):
     self.master.view_grideditor(
         grideditor.HostPatternEditor(
             self.master, self.master.options.ignore_hosts,
             self.master.options.setter("ignore_hosts")))
Esempio n. 4
0
 def tcp_hosts(self):
     self.master.view_grideditor(
         grideditor.HostPatternEditor(
             self.master, self.master.options.tcp_hosts,
             self.master.options.setter("tcp_hosts")))