mirror of
https://github.com/aclist/dztui.git
synced 2026-11-05 09:34:46 +01:00
feat: catch cancel and shutdown events
This commit is contained in:
1 parent
319966f8e1
commit
2e5860650f
9 files changed
+94
-40
No files matched your search
@@ -64,7 +64,7 @@ class ServerModCols:
|
||||
@dataclass(slots=True, frozen=True)
|
||||
class MenuCols:
|
||||
name: str
|
||||
hidden: object # GObject.TYPE_PYOBJECT
|
||||
hidden: object
|
||||
|
||||
|
||||
class FastInsertListStore(ListStore):
|
||||
@@ -108,6 +108,7 @@ class FastInsertListStore(ListStore):
|
||||
self.append(row)
|
||||
|
||||
def append(self, row: list[Any] | tuple[Any, ...] | None = ...) -> TreeIter:
|
||||
# FIXME: argument cannot be none
|
||||
"""
|
||||
Optimized for speed, but makes no assurances about row homogeneity
|
||||
and may segfault if types and length are not identical to ListStore.
|
||||
|
||||
Reference in new issue
Block a user