Extensions: Add on_load() / on_unload() support
commit7c351318762374ecae6062ba87def83f773c2b04
authorThomas Perl <m@thp.io>
Tue, 21 Feb 2012 14:13:18 +0000 (21 15:13 +0100)
committerThomas Perl <m@thp.io>
Tue, 21 Feb 2012 14:13:18 +0000 (21 15:13 +0100)
tree355da9c9f008837203f35a8367585256a97698d6
parent8c19f52b9abccdfacb7d4f8572f9806327e53ebc
Extensions: Add on_load() / on_unload() support

This allows extensions to hook into stuff and remove
the hooks when the extension is unloaded.
examples/hello_world.py [new file with mode: 0644]
src/gpodder/builtins/notification.py
src/gpodder/core.py
src/gpodder/extensions.py