mirror of
https://github.com/aclist/dztui.git
synced 2026-08-26 09:47:36 +02:00
chore: add comments
This commit is contained in:
parent
04e0b7ae55
commit
ce44d67bf6
@ -40,12 +40,12 @@ params = [
|
||||
]
|
||||
|
||||
|
||||
class BmAPIError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class BmIdError(Exception):
|
||||
pass
|
||||
#class BmAPIError(Exception):
|
||||
# pass
|
||||
#
|
||||
#
|
||||
#class BmIdError(Exception):
|
||||
# pass
|
||||
|
||||
|
||||
class InvalidIpError(Exception):
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user