Add extra GrampsBar functionality.
svn: r16502
This commit is contained in:
@@ -293,3 +293,10 @@ class NoteView(ListView):
|
||||
note = self.dbstate.db.get_note_from_handle(note_handle)
|
||||
note.add_tag(tag_handle)
|
||||
self.dbstate.db.commit_note(note, transaction)
|
||||
|
||||
def get_default_gramplets(self):
|
||||
"""
|
||||
Define the default gramplets for the sidebar and bottombar.
|
||||
"""
|
||||
return (("Note Filter Gramplet",),
|
||||
())
|
||||
|
||||
Reference in New Issue
Block a user