mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
chore: add comments
This commit is contained in:
1 parent
04e0b7ae55
commit
ce44d67bf6
2 files changed
+12
-6
No files matched your search
@@ -40,12 +40,12 @@ params = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
class BmAPIError(Exception):
|
#class BmAPIError(Exception):
|
||||||
pass
|
# pass
|
||||||
|
#
|
||||||
|
#
|
||||||
class BmIdError(Exception):
|
#class BmIdError(Exception):
|
||||||
pass
|
# pass
|
||||||
|
|
||||||
|
|
||||||
class InvalidIpError(Exception):
|
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
|
from gi.repository import Gtk, GLib, GLibUnix, Gdk # type: ignore # noqa E402
|
||||||
|
|
||||||
logger = logging.getLogger(APP_NAME)
|
logger = logging.getLogger(APP_NAME)
|
||||||
|
|
||||||
|
# TODO: drop
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=708676
|
# https://bugzilla.gnome.org/show_bug.cgi?id=708676
|
||||||
warnings.filterwarnings("ignore", ".*g_value_get_int", Warning)
|
warnings.filterwarnings("ignore", ".*g_value_get_int", Warning)
|
||||||
|
|
||||||
@@ -86,6 +88,10 @@ class OuterWindow(Gtk.Window):
|
|||||||
css.load_css()
|
css.load_css()
|
||||||
|
|
||||||
MainController.open_page(NotebookPage.SERVERS)
|
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()
|
self.grid.hide_widgets_on_init()
|
||||||
|
|
||||||
# TODO: POC, trigger page change here
|
# TODO: POC, trigger page change here
|
||||||
|
|||||||
Reference in new issue
Block a user