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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user