[kupfer] trash: Add Source.provides()



commit 5c371f4acc0a94929a32560b986a4485133b2939
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Dec 15 19:27:36 2009 +0100

    trash: Add Source.provides()

 kupfer/plugin/trash.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/trash.py b/kupfer/plugin/trash.py
index 6529961..10b9671 100644
--- a/kupfer/plugin/trash.py
+++ b/kupfer/plugin/trash.py
@@ -141,3 +141,5 @@ class TrashSource (Source):
 		yield Trash(TRASH_URI)
 	def get_leaf_repr(self):
 		return InvisibleSourceLeaf(self)
+	def provides(self):
+		yield SpecialLocation



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]