1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 15:26:37 +02:00

plugins: sort options added in configuration sections

This commit is contained in:
Sébastien Helleu
2019-10-23 19:43:45 +02:00
parent ecc7edda9e
commit c6161d0e4a
12 changed files with 178 additions and 178 deletions
+7 -7
View File
@@ -38,8 +38,8 @@ struct t_config_option *exec_config_command_shell;
/* exec config, color section */
struct t_config_option *exec_config_color_flag_running;
struct t_config_option *exec_config_color_flag_finished;
struct t_config_option *exec_config_color_flag_running;
char **exec_config_cmd_options = NULL;
int exec_config_cmd_num_options = 0;
@@ -164,18 +164,18 @@ exec_config_init ()
return 0;
}
exec_config_color_flag_running = weechat_config_new_option (
exec_config_file, ptr_section,
"flag_running", "color",
N_("text color for a running command flag in list of commands"),
NULL, 0, 0, "lightgreen", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
exec_config_color_flag_finished = weechat_config_new_option (
exec_config_file, ptr_section,
"flag_finished", "color",
N_("text color for a finished command flag in list of commands"),
NULL, 0, 0, "lightred", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
exec_config_color_flag_running = weechat_config_new_option (
exec_config_file, ptr_section,
"flag_running", "color",
N_("text color for a running command flag in list of commands"),
NULL, 0, 0, "lightgreen", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
return 1;
}
+1 -1
View File
@@ -28,8 +28,8 @@ extern struct t_config_option *exec_config_command_default_options;
extern struct t_config_option *exec_config_command_purge_delay;
extern struct t_config_option *exec_config_command_shell;
extern struct t_config_option *exec_config_color_flag_running;
extern struct t_config_option *exec_config_color_flag_finished;
extern struct t_config_option *exec_config_color_flag_running;
extern char **exec_config_cmd_options;
extern int exec_config_cmd_num_options;