From f669032fc9461cd910bf30bb2c1515620c5fbcf0 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sat, 9 Feb 2013 17:30:46 +0000 Subject: [PATCH] Comment updates --- openlp/core/lib/registry.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openlp/core/lib/registry.py b/openlp/core/lib/registry.py index d771e79d1..3e889890d 100644 --- a/openlp/core/lib/registry.py +++ b/openlp/core/lib/registry.py @@ -84,7 +84,7 @@ class Registry(object): Registers a component against a key. ``key`` - The service to be created. + The service to be created this is usually a major class like "renderer" or "main_window" . ``reference`` The service address to be saved. @@ -115,7 +115,9 @@ class Registry(object): Register a function and a handler to be called later ``event`` - The function description.. + The function description like "config_updated" or "live_display_hide" where a number of places in the + code will/may need to respond to a single action and the caller does not need to understand or know about + the recipients. ``function`` The function to be called when the event happens.