mirror of
https://github.com/aclist/dztui.git
synced 2026-11-07 18:40:46 +01:00
fix: clean up signal emission
This commit is contained in:
1 parent
4946705a8b
commit
25f19cfd10
15 files changed
+116
-72
No files matched your search
@@ -59,8 +59,10 @@ class ServerNotebook(Gtk.ScrolledWindow):
|
||||
|
||||
def _on_map(self, widget: Self) -> None:
|
||||
self.emitter.emit("server_page_toggled", True)
|
||||
print("page changed, starting queue checker")
|
||||
self.get_active_treeview().start_timeout()
|
||||
# FIXME: only applies to server notebook, not atomic page
|
||||
# this can be delegated to the map/unmap signal of the ServerTreeView itself
|
||||
# print("page changed, starting queue checker")
|
||||
# self.get_active_treeview().start_timeout()
|
||||
|
||||
def _on_unmap(self, widget: Self) -> None:
|
||||
self.emitter.emit("server_page_toggled", False)
|
||||
|
||||
Reference in new issue
Block a user