summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2012-02-10 00:01:53 +0100
committerportix <portix@gmx.net>2012-02-10 00:01:53 +0100
commit85c9ed18737825fa8a1b03a95dab057e10b389d3 (patch)
tree7e48062d58478e9cfb10963a2b137a96d8a561d2 /src/config.h
parent9b2814567078d0c2f6a69b14782f9cb32abc075a (diff)
downloaddwb-85c9ed18737825fa8a1b03a95dab057e10b389d3.zip
New command 'reload_userscripts', closing #79
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 5837ccfa..b01ae0ef 100644
--- a/src/config.h
+++ b/src/config.h
@@ -88,6 +88,7 @@ static KeyValue KEYS[] = {
{ "zoom_out", { "-", 0, }, },
{ "save_search_field", { "gs", 0, }, },
{ "reload_scripts", { NULL, 0, }, },
+ { "reload_userscripts", { NULL, 0, }, },
{ "proxy", { "p" , GDK_CONTROL_MASK, }, },
{ "focus_input", { "gi", 0, }, },
{ "set_setting", { "ss", 0, }, },
@@ -584,6 +585,9 @@ static FunctionMap FMAP [] = {
{ { "reload_scripts", "Reload scripts", }, 1,
(Func)commands_reload_scripts, NULL, ALWAYS_SM,
{ 0 }, EP_NONE, { NULL }, },
+ { { "reload_userscripts", "Reload userscripts", }, 1,
+ (Func)commands_reload_user_scripts, NULL, POST_SM,
+ { 0 }, EP_NONE, { NULL }, },
/* Entry editing */