chore: add annotations

This commit is contained in:
aclist 2025-12-29 16:57:06 +09:00
parent b0565bc7f1
commit 029bc1edbd

View File

@ -259,7 +259,7 @@ class AppHeaderBar(Gtk.HeaderBar):
# TODO: deprecated
class ScrollableNote(ScrollableMixin, Gtk.Box):
def __init__(self, content_box: Gtk.Box, back_button=False):
def __init__(self, content_box: Gtk.Box, back_button: bool = False):
super().__init__(orientation=Gtk.Orientation.VERTICAL)
self.scrollable = Gtk.ScrolledWindow()
@ -330,10 +330,9 @@ class Notebook(ScrollableMixin, Gtk.Notebook):
developers = Developers(MainController)
self.developers = ScrollableNote(developers)
self.pages = {
self.help: NotebookPage.HELP,
#self.scrollable_treelist: NotebookPage.MAIN,
self.clog: NotebookPage.CHANGELOG,
self.keys: NotebookPage.KEYS,
self.settings: NotebookPage.OPTIONS,