chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-05-02 20:01:57 +09:00
1 parent 806e05977d
commit 5757f79755
17 files changed
+91 -46

No files matched your search

+2 -1
View File
@@ -19,7 +19,7 @@ class ContextMixin(TreeView):
self,
widget: Gtk.Widget,
event: Gdk.EventButton | Gdk.EventKey,
) -> None:
) -> bool:
if self.is_selection_empty():
return False
@@ -56,6 +56,7 @@ class ContextMixin(TreeView):
self.context_menu.popup_at_pointer(event)
self.context_menu.select_first(False)
return True
def _process_dynamic_row(self, row: ContextMenu) -> Gtk.MenuItem:
if row == ContextMenu.ADD_SERVER and self.is_in_favs(): # type: ignore