Connect all the signal handlers.
(self)
| 162 | self.main_box.append(paned) |
| 163 | |
| 164 | def _connect_signals(self): |
| 165 | """Connect all the signal handlers.""" |
| 166 | |
| 167 | self.host_list.connect("host-selected", self._on_host_selected) |
| 168 | self.host_list.connect("host-added", self._on_host_added) |
| 169 | self.host_list.connect("host-deleted", self._on_host_deleted) |
| 170 | self.host_list.connect("hosts-reordered", self._on_hosts_reordered) |
| 171 | self.host_list.connect("undo-clicked", self._on_undo_clicked) |
| 172 | |
| 173 | self.host_editor.connect("host-changed", self._on_host_changed) |
| 174 | self.host_editor.connect("host-save", self._on_host_save) |
| 175 | self.host_editor.connect( |
| 176 | "editor-validity-changed", self._on_editor_validity_changed |
| 177 | ) |
| 178 | self.host_editor.connect("show-toast", self._on_show_toast) |
| 179 | |
| 180 | self.host_list.search_entry.connect("search-changed", self._on_search_changed) |
| 181 | |
| 182 | self._setup_actions() |
| 183 | |
| 184 | def _setup_actions(self): |
| 185 | actions = Gio.SimpleActionGroup() |
no test coverage detected