diff --git a/dzgui/main.py b/dzgui/main.py index c9b692b..d91c187 100644 --- a/dzgui/main.py +++ b/dzgui/main.py @@ -104,7 +104,7 @@ def main() -> None: rebuild_symlinks(XDG.config) remove_stale_signatures(XDG.config, XDG.version) - # TODO: handle IP DB failure + # TODO: handle IP DB failure and use coords fallback get_ipdb(XDG.ips) local_coords = get_local_coords(XDG.ips) diff --git a/dzgui/views/components/connect_panel.py b/dzgui/views/components/connect_panel.py index 5cdc55c..a462a08 100644 --- a/dzgui/views/components/connect_panel.py +++ b/dzgui/views/components/connect_panel.py @@ -1,8 +1,9 @@ +from dzgui.views.components.web_button import WebButton + import gi gi.require_version("Gtk", "3.0") from gi.repository import Gtk # noqa E402 -from dzgui.views.components.web_button import WebButton class ConnectPanel(Gtk.Frame): def __init__(self) -> None: @@ -10,10 +11,11 @@ class ConnectPanel(Gtk.Frame): self.label = Gtk.Label(label="Add/connect") self.label2 = Gtk.Label(label="Favorite server") + # TODO: embold function #self.label2.set_markup("Favorite server") + self.label2.set_markup("Favorite server") - sep = Gtk.Separator() self.entry1 = Gtk.Entry(placeholder_text="Enter IP or Battlemetrics ID", hexpand=False) self.entry2 = Gtk.Entry() self.fav = Gtk.Label(label="MY favorite server very long title") diff --git a/dzgui/views/components/right_panel.py b/dzgui/views/components/right_panel.py index b7fe336..730e3cc 100644 --- a/dzgui/views/components/right_panel.py +++ b/dzgui/views/components/right_panel.py @@ -34,6 +34,7 @@ class RightPanel(Gtk.Box): ) self.ping.connect("clicked", self._on_ping_clicked) + # TODO: drop after adding context menu row self.debug_toggle = Gtk.ToggleButton( label=strings.debug_mode, margin_top=10,