mirror of
https://github.com/aclist/dztui.git
synced 2026-11-12 04:50:37 +01:00
chore: downgrade FIXME tags
This commit is contained in:
1 parent
1dbbd5977d
commit
170990ee1d
3 files changed
+7
-5
No files matched your search
+5
-3
@@ -1,3 +1,4 @@
|
||||
import gi
|
||||
import logging
|
||||
import signal
|
||||
|
||||
@@ -34,8 +35,6 @@ from dzgui.views.pages.preconnect import PreConnectionAssistant
|
||||
from dzgui.views.pages.servers import ServerNotebook
|
||||
from dzgui.views.pages.thanks import Thanks
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
gi.require_version("GLibUnix", "2.0")
|
||||
from gi.repository import Gtk, GLib, GLibUnix, Gdk # type: ignore
|
||||
@@ -49,7 +48,10 @@ logger = logging.getLogger(APP_NAME)
|
||||
class OuterWindow(Gtk.ApplicationWindow):
|
||||
def __init__(self, app: "App") -> None:
|
||||
super().__init__(
|
||||
application=app, title=APP_NAME, border_width=10, icon_name=APP_NAME_LOWER
|
||||
application=app,
|
||||
title=APP_NAME,
|
||||
border_width=10,
|
||||
icon_name=APP_NAME_LOWER,
|
||||
)
|
||||
|
||||
self.hb = AppHeaderBar()
|
||||
|
||||
@@ -62,7 +62,7 @@ class FolderPicker(Gtk.FileChooserDialog):
|
||||
return None
|
||||
return Path.from_uri(uri)
|
||||
except Exception:
|
||||
# FIXME: edge cases
|
||||
# TODO: edge cases
|
||||
return Path("/")
|
||||
self.destroy()
|
||||
return Path(folder)
|
||||
|
||||
@@ -224,7 +224,7 @@ class ServerTreeView(ContextMixin, TreeView): # type: ignore
|
||||
while not self.queue.empty():
|
||||
latest_result = self.queue.get()
|
||||
|
||||
# FIXME: cache is being checked in two passes
|
||||
# TODO: cache is being checked in two passes
|
||||
cache = self.controller.get_dist_cache()
|
||||
|
||||
if latest_result:
|
||||
|
||||
Reference in new issue
Block a user