From cbbce338f96849f655a75e6858fdb8b9d789ca45 Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Fri, 13 Jul 2007 04:31:54 +0000 Subject: [PATCH] Renamed plugin's event handling method to 'handle_events'. --- src/plugins.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins.py b/src/plugins.py index bb832ca45..44a65de44 100644 --- a/src/plugins.py +++ b/src/plugins.py @@ -98,9 +98,9 @@ class PluginManager: plugin = self.enabled_plugins[name] if 'update' in dir(plugin): plugin.update() - - if 'notify' in dir(plugin): - plugin.notify(events) + print events + if 'handle_events' in dir(plugin): + plugin.handle_events(events) def shutdown_all_plugins(self): for name in self.enabled_plugins.keys():