summaryrefslogtreecommitdiffstats
path: root/docs/plugins/addon_plugin.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/plugins/addon_plugin.rst')
-rw-r--r--docs/plugins/addon_plugin.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/plugins/addon_plugin.rst b/docs/plugins/addon_plugin.rst
index c2258f2aa..e18bd6b0f 100644
--- a/docs/plugins/addon_plugin.rst
+++ b/docs/plugins/addon_plugin.rst
@@ -59,7 +59,7 @@ What a basic excerpt would look like: ::
Your Hook code here.
"""
- def coreReady(self):
+ def activate(self):
print "Yay, the core is ready let's do some work."
def downloadFinished(self, pyfile):
@@ -147,7 +147,7 @@ Just store everything in ``self.info``. ::
def setup(self):
self.info = {"running": False}
- def coreReady(self):
+ def activate(self):
self.info["running"] = True
Usable with: ::