diff options
Diffstat (limited to 'src/plugins/trigger/trigger-config.c')
-rw-r--r-- | src/plugins/trigger/trigger-config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c index 700febc26..56bdbf4d2 100644 --- a/src/plugins/trigger/trigger-config.c +++ b/src/plugins/trigger/trigger-config.c @@ -375,7 +375,7 @@ trigger_config_create_trigger_option (const char *trigger_name, int index_option case TRIGGER_OPTION_HOOK: ptr_option = weechat_config_new_option ( trigger_config_file, trigger_config_section_trigger, - option_name, "integer", + option_name, "enum", N_("type of hook used"), trigger_hook_option_values, 0, 0, value, NULL, 0, @@ -440,7 +440,7 @@ trigger_config_create_trigger_option (const char *trigger_name, int index_option case TRIGGER_OPTION_RETURN_CODE: ptr_option = weechat_config_new_option ( trigger_config_file, trigger_config_section_trigger, - option_name, "integer", + option_name, "enum", N_("return code for hook callback (see plugin API reference to " "know where ok_eat/error can be used efficiently)"), "ok|ok_eat|error", 0, 0, value, NULL, 0, @@ -449,7 +449,7 @@ trigger_config_create_trigger_option (const char *trigger_name, int index_option case TRIGGER_OPTION_POST_ACTION: ptr_option = weechat_config_new_option ( trigger_config_file, trigger_config_section_trigger, - option_name, "integer", + option_name, "enum", N_("action to take on the trigger after execution"), "none|disable|delete", 0, 0, value, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); |