[nautilus-python/wip/jtojnar/nautilus-4] fixup! Implement NautilusPropertiesModelProvider support
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-python/wip/jtojnar/nautilus-4] fixup! Implement NautilusPropertiesModelProvider support
- Date: Wed, 10 Aug 2022 21:15:14 +0000 (UTC)
commit 2cf87fd4f3204f849a2d89313d35d6ed126007e3
Author: Jan Tojnar <jtojnar gmail com>
Date: Wed Aug 10 23:15:06 2022 +0200
fixup! Implement NautilusPropertiesModelProvider support
examples/md5sum-properties-model.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/examples/md5sum-properties-model.py b/examples/md5sum-properties-model.py
index 9cffe43..eb4b9b4 100644
--- a/examples/md5sum-properties-model.py
+++ b/examples/md5sum-properties-model.py
@@ -5,6 +5,9 @@ from gi.repository import Nautilus, GObject
from typing import List
class MD5SumPropertiesModel(GObject.GObject, Nautilus.PropertiesModelProvider):
+ def __init__(self):
+ pass
+
def get_models(self, files: List[Nautilus.FileInfo]) -> List[Nautilus.PropertiesModel]:
if len(files) != 1:
return []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]