1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

fset: remove option fset.look.show_help_bar

This commit is contained in:
Sébastien Helleu
2017-06-26 23:55:45 +02:00
parent be28f3c7f4
commit 16132ed7ba
24 changed files with 68 additions and 376 deletions
-26
View File
@@ -40,7 +40,6 @@ struct t_config_option *fset_config_look_export_help_default;
struct t_config_option *fset_config_look_format_number;
struct t_config_option *fset_config_look_marked_string;
struct t_config_option *fset_config_look_scroll_horizontal;
struct t_config_option *fset_config_look_show_help_bar;
struct t_config_option *fset_config_look_show_plugins_desc;
struct t_config_option *fset_config_look_sort;
struct t_config_option *fset_config_look_unmarked_string;
@@ -116,22 +115,6 @@ fset_config_change_format_number_cb (const void *pointer, void *data,
fset_buffer_check_line_outside_window ();
}
/*
* Callback for changes on option "fset.look.show_help_bar".
*/
void
fset_config_change_show_help_bar_cb (const void *pointer, void *data,
struct t_config_option *option)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) option;
weechat_command (NULL, "/window refresh");
}
/*
* Callback for changes on option "fset.look.show_plugins_desc".
*/
@@ -404,15 +387,6 @@ fset_config_init ()
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
fset_config_look_show_help_bar = weechat_config_new_option (
fset_config_file, ptr_section,
"show_help_bar", "boolean",
N_("display help bar in fset buffer (description of option, "
"allowed values and default value)"),
NULL, 0, 0, "on", NULL, 0,
NULL, NULL, NULL,
&fset_config_change_show_help_bar_cb, NULL, NULL,
NULL, NULL, NULL);
fset_config_look_show_plugins_desc = weechat_config_new_option (
fset_config_file, ptr_section,
"show_plugins_desc", "boolean",