[kupfer] plugin.notes: NotesSource yields only Notes.
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] plugin.notes: NotesSource yields only Notes.
- Date: Sun, 27 Sep 2009 08:46:26 +0000 (UTC)
commit edf05c4438897e00034fadcacf1ec1cf3700b6b8
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat Sep 26 01:00:07 2009 +0200
plugin.notes: NotesSource yields only Notes.
kupfer/plugin/notes.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/notes.py b/kupfer/plugin/notes.py
index 855b353..66e3658 100644
--- a/kupfer/plugin/notes.py
+++ b/kupfer/plugin/notes.py
@@ -196,6 +196,9 @@ class NotesSource (AppLeafContentMixin, Source, PicklingHelperMixin,
for noteuri, title, date in self._notes:
yield Note(noteuri, title, date=date)
+ def provides(self):
+ yield Note
+
def get_gicon(self):
return icons.get_gicon_with_fallbacks(None, PROGRAM_IDS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]