From df0150fee2f260a14cb3d81579de2c619b8fd7de Mon Sep 17 00:00:00 2001 From: jeena Date: Sun, 31 Mar 2013 03:23:23 +0200 Subject: [PATCH] changed plugin path --- Qt/Helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Qt/Helper.py b/Qt/Helper.py index c822256..ea8a36e 100644 --- a/Qt/Helper.py +++ b/Qt/Helper.py @@ -87,12 +87,12 @@ class WebViewCreator(QtWebKit.QWebView): if self.is_local: frame.evaluateJavaScript("var OS_TYPE = 'linux';") - js_plugin_path = os.path.expanduser('~/.bungloo/Plugin.js') + js_plugin_path = os.path.expanduser('~/.config/bungloo/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('~/.bungloo/Plugin.css') + css_plugin_path = os.path.expanduser('~/.config/bungloo/Plugin.css') if os.access(css_plugin_path, os.R_OK): func = "setTimeout(function() { loadCssPlugin('file://localhost/" + css_plugin_path + "') }, 1000);" frame.evaluateJavaScript(func)