From 683dc31781745ae08a8b633b53e5938a76865127 Mon Sep 17 00:00:00 2001 From: Jeena Date: Wed, 9 Oct 2013 23:52:38 +0200 Subject: [PATCH] changed config directory name for plugins --- Qt/Helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Qt/Helper.py b/Qt/Helper.py index f60c4cc..d70b007 100644 --- a/Qt/Helper.py +++ b/Qt/Helper.py @@ -114,12 +114,12 @@ class WebViewCreator(QtWebKit.QWebView): os_type = "osx" frame.evaluateJavaScript("var OS_TYPE = '" + os_type + "';") - js_plugin_path = os.path.expanduser('~/.config/bungloo/Plugin.js') + js_plugin_path = os.path.expanduser('~/.config/bungloo2/Plugin.js') if os.access(js_plugin_path, os.R_OK): func = "setTimeout(function() { loadJsPlugin('file://localhost/" + js_plugin_path + "') }, 1000);" frame.evaluateJavaScript(func) - css_plugin_path = os.path.expanduser('~/.config/bungloo/Plugin.css') + css_plugin_path = os.path.expanduser('~/.config/bungloo2/Plugin.css') if os.access(css_plugin_path, os.R_OK): func = "setTimeout(function() { loadCssPlugin('file://localhost/" + css_plugin_path + "') }, 1000);" frame.evaluateJavaScript(func)