summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/AddonManager.py4
-rw-r--r--module/config/ConfigManager.py2
2 files changed, 2 insertions, 4 deletions
diff --git a/module/AddonManager.py b/module/AddonManager.py
index ccb617dc6..7d3852274 100644
--- a/module/AddonManager.py
+++ b/module/AddonManager.py
@@ -43,7 +43,7 @@ class AddonManager:
self.lock = RLock()
self.createIndex()
- # manage addons an config change
+ # manage addons on config change
self.addEvent("configChanged", self.manageAddons)
@lock
@@ -224,8 +224,6 @@ class AddonManager:
def addEventListener(self, plugin, func, event):
""" add the event to the list """
-
-
if plugin not in self.events:
self.events[plugin] = []
self.events[plugin].append((func, event))
diff --git a/module/config/ConfigManager.py b/module/config/ConfigManager.py
index 3ee66bc85..872ce2e00 100644
--- a/module/config/ConfigManager.py
+++ b/module/config/ConfigManager.py
@@ -98,7 +98,7 @@ class ConfigManager(ConfigParser):
self.values[user, section][option] = value
self.saveValues(user, section)
- if changed: self.core.evm.dispatchEvent("configChanged", value)
+ if changed: self.core.evm.dispatchEvent("configChanged", section, option, value)
return changed
def saveValues(self, user, section):