mirror of
https://github.com/aclist/dztui.git
synced 2026-11-07 10:30:40 +01:00
feat: ServerModelManager WIP
This commit is contained in:
1 parent
bdfebf9a69
commit
473dcafb26
8 files changed
+396
-53
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user