mirror of
https://github.com/aclist/dztui.git
synced 2026-08-26 17:57:06 +02:00
chore: update comments and imports
This commit is contained in:
parent
64384d1ac6
commit
c4b918d61e
@ -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)
|
||||
|
||||
|
||||
@ -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("<b>Favorite server</b>")
|
||||
|
||||
self.label2.set_markup("<b>Favorite server</b>")
|
||||
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")
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user