diff options
author | portix <portix@gmx.net> | 2013-04-17 13:04:11 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-04-17 13:04:11 +0200 |
commit | 47db632b797e7c7072e9bc779bee1caba290c768 (patch) | |
tree | 1b1368d2f0e1b0ad8721a409c90312de363b73c8 /extensions/userscripts | |
parent | ada7b7aa134261f117720df6100586247550e8cd (diff) | |
download | dwb-47db632b797e7c7072e9bc779bee1caba290c768.zip |
Print error if no scripts were found in userscripts
Diffstat (limited to 'extensions/userscripts')
-rw-r--r-- | extensions/userscripts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/userscripts b/extensions/userscripts index 2f18663a..70e811a1 100644 --- a/extensions/userscripts +++ b/extensions/userscripts @@ -500,6 +500,10 @@ function userscriptsStart() Signal.connect("documentLoaded", loadFinishedCallback); ret = true; } + if (ret == false) + { + extensions.error(me, "No scripts found, place scripts in $XDG_CONFIG_HOME/.config/dwb/greasemonkey"); + } //metaData = {}; //onStart.concat(onEnd).forEach(function (v, k, obj) { // var o = { |