feat: reimplement notes dialog (WIP)

This commit is contained in:
aclist committed 2026-04-01 00:14:48 +09:00
1 parent 55e6af8fe2
commit 560349e16b
5 files changed
+16 -4

No files matched your search

+2 -2
View File
@@ -44,8 +44,8 @@ class ServerDialog(GenericDialog):
self.content = self.get_content_area()
self.content.pack_start(self.scrollable_tree, EXPAND, FILL, 0)
def pack(self, widget: Gtk.Widget) -> None:
self.content.pack_start(widget, EXPAND, FILL, NO_PADDING)
# def pack(self, widget: Gtk.Widget) -> None:
# self.content.pack_start(widget, EXPAND, FILL, NO_PADDING)
def _on_keypress(self, view: Gtk.TreeView, event: Gdk.EventKey) -> None:
# NOTE: ESC normally unfocuses treeview instead of destroying dialog