mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 12:26:40 +02:00
New format for [bar] section in weechat.conf file, bar options can be set with /set command
This commit is contained in:
@@ -98,6 +98,8 @@ script_api_config_new_section (struct t_weechat_plugin *weechat_plugin,
|
||||
struct t_plugin_script *script,
|
||||
struct t_config_file *config_file,
|
||||
char *name,
|
||||
int user_can_add_options,
|
||||
int user_can_delete_options,
|
||||
void (*callback_read)(void *data,
|
||||
struct t_config_file *config_file,
|
||||
char *option_name,
|
||||
@@ -202,6 +204,8 @@ script_api_config_new_section (struct t_weechat_plugin *weechat_plugin,
|
||||
|
||||
new_section = weechat_config_new_section (config_file,
|
||||
name,
|
||||
user_can_add_options,
|
||||
user_can_delete_options,
|
||||
callback1,
|
||||
new_script_callback1,
|
||||
callback2,
|
||||
|
||||
Reference in New Issue
Block a user