summaryrefslogtreecommitdiff
path: root/src/plugin.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-07 15:15:34 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-07 15:15:34 +0100
commit953783c2001c55da7aa42077f7e109306adb1ef9 (patch)
tree5ec4276788185a9672065d1527350416f0b2caff /src/plugin.py
parent41b54973309d49932e4a5459bd76b0ef671e4545 (diff)
parentd6b8ca50f2c046aa1248173f453b3804f40c479a (diff)
downloadpoezio-953783c2001c55da7aa42077f7e109306adb1ef9.tar.gz
poezio-953783c2001c55da7aa42077f7e109306adb1ef9.tar.bz2
poezio-953783c2001c55da7aa42077f7e109306adb1ef9.tar.xz
poezio-953783c2001c55da7aa42077f7e109306adb1ef9.zip
Merge branch 'plugins' of https://git.louiz.org/poezio into plugins
Diffstat (limited to 'src/plugin.py')
-rw-r--r--src/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.py b/src/plugin.py
index 0b4f3f3a..80bc4dfc 100644
--- a/src/plugin.py
+++ b/src/plugin.py
@@ -85,8 +85,8 @@ class BasePlugin(object, metaclass=SafetyMetaclass):
def del_event_handler(self, event_name, handler):
return self.plugin_manager.del_event_handler(self.__module__, event_name, handler)
- def add_poezio_event_handler(self, event_name, handler, first=True, last=False, position=None):
- return self.plugin_manager.add_poezio_event_handler(self.__module__, event_name, handler, first, last, position)
+ def add_poezio_event_handler(self, event_name, handler, position=0):
+ return self.plugin_manager.add_poezio_event_handler(self.__module__, event_name, handler, position)
def del_poezio_event_handler(self, event_name, handler):
return self.plugin_manager.del_poezio_event_handler(self.__module__, event_name, handler)