[kupfer] trash: Fix bug in listing trash content
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] trash: Fix bug in listing trash content
- Date: Mon, 14 Dec 2009 00:40:54 +0000 (UTC)
commit 23ffb45effe197c281bce62e9a9cb33dd580fbdb
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Mon Dec 14 01:16:26 2009 +0100
trash: Fix bug in listing trash content
The trash functionality never worked after I moved it into its own
plugin. This fixes a typo with an instance attribute.
kupfer/plugin/trash.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/plugin/trash.py b/kupfer/plugin/trash.py
index f63af4b..6529961 100644
--- a/kupfer/plugin/trash.py
+++ b/kupfer/plugin/trash.py
@@ -114,7 +114,7 @@ class Trash (SpecialLocation):
def has_content(self):
return self.get_item_count()
def content_source(self, alternate=False):
- return TrashContentSource(self._uri, name=unicode(self))
+ return TrashContentSource(self.object, name=unicode(self))
def get_item_count(self):
gfile = gio.File(self.object)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]