Clears all input fields and custom options.
(self)
| 631 | GLib.idle_add(deferred_update) |
| 632 | |
| 633 | def _clear_all_fields(self): |
| 634 | """Clears all input fields and custom options.""" |
| 635 | self.patterns_entry.set_text("") |
| 636 | self.hostname_entry.set_text("") |
| 637 | self.user_entry.set_text("") |
| 638 | self.port_entry.set_value(22) |
| 639 | self.identity_entry.set_text("") |
| 640 | self.forward_agent_switch.set_active(False) |
| 641 | self.proxy_jump_entry.set_text("") |
| 642 | self.proxy_cmd_entry.set_text("") |
| 643 | self.local_forward_entry.set_text("") |
| 644 | self.remote_forward_entry.set_text("") |
| 645 | if hasattr(self, "compression_switch"): |
| 646 | self.compression_switch.set_active(False) |
| 647 | if hasattr(self, "serveralive_interval_entry"): |
| 648 | self.serveralive_interval_entry.set_value(0) |
| 649 | if hasattr(self, "serveralive_count_entry"): |
| 650 | self.serveralive_count_entry.set_value(3) |
| 651 | if hasattr(self, "tcp_keepalive_switch"): |
| 652 | self.tcp_keepalive_switch.set_active(True) |
| 653 | if hasattr(self, "strict_host_key_row"): |
| 654 | self.strict_host_key_row.set_selected(0) |
| 655 | |
| 656 | def _load_custom_options(self, host: SSHHost): |
| 657 | """Loads custom SSH options into the custom options list.""" |
no outgoing calls
no test coverage detected