feat: ServerModelManager WIP

This commit is contained in:
aclist committed 2026-02-22 01:42:36 +09:00
1 parent bdfebf9a69
commit 473dcafb26
8 files changed
+396 -53

No files matched your search

+3 -2
View File
@@ -100,11 +100,12 @@ class ServerNotebook(Gtk.ScrolledWindow):
if label is None:
return
# TODO: strings
# TODO: strings, tab activity notifier
text = label.strip("*")
self.notebook.set_tab_label_text(child, text)
# NOTE: spawns a thread
self.controller.populate_model()
self.controller.populate_model(self.get_active_treeview())
def get_active_treeview(self) -> ServerTreeView:
index = self.notebook.get_current_page()