From 64c1a09023298e75eed0b2a0e736d1422f7f46b7 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 10 Aug 2013 00:24:27 +0200 Subject: Fix #2337 (search the themes the same way than plugins) - Load the themes from: 1 - The sources found in the directory ../data/themes/ (if it exists) 2 - The user-defined dir (or ~/.local/blah) 3 - The poezio_themes package if found - Also fix some potential issues with the plugins importer --- src/core.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core.py') diff --git a/src/core.py b/src/core.py index 4c1dd032..20e09b39 100644 --- a/src/core.py +++ b/src/core.py @@ -301,6 +301,7 @@ class Core(object): self.add_configuration_handler("plugins_conf_dir", self.on_plugins_conf_dir_config_change) self.add_configuration_handler("connection_timeout_delay", self.xmpp.set_keepalive_values) self.add_configuration_handler("connection_check_interval", self.xmpp.set_keepalive_values) + self.add_configuration_handler("themes_dir", theming.update_themes_dir) self.add_configuration_handler("", self.on_any_config_change) def on_any_config_change(self, option, value): -- cgit v1.2.3