chore: add comments

This commit is contained in:
aclist 2026-05-04 07:35:13 +09:00
parent 04e0b7ae55
commit ce44d67bf6
2 changed files with 12 additions and 6 deletions

View File

@ -40,12 +40,12 @@ params = [
]
class BmAPIError(Exception):
pass
class BmIdError(Exception):
pass
#class BmAPIError(Exception):
# pass
#
#
#class BmIdError(Exception):
# pass
class InvalidIpError(Exception):

View File

@ -37,6 +37,8 @@ gi.require_version("GLibUnix", "2.0")
from gi.repository import Gtk, GLib, GLibUnix, Gdk # type: ignore # noqa E402
logger = logging.getLogger(APP_NAME)
# TODO: drop
# https://bugzilla.gnome.org/show_bug.cgi?id=708676
warnings.filterwarnings("ignore", ".*g_value_get_int", Warning)
@ -86,6 +88,10 @@ class OuterWindow(Gtk.Window):
css.load_css()
MainController.open_page(NotebookPage.SERVERS)
# TODO:
# combo box in options could link to same index as pages
# or use enum in case page order is changed in future
# MainController.get_servers().notebook.set_current_page(3)
self.grid.hide_widgets_on_init()
# TODO: POC, trigger page change here