fset: remove obsolete option fset.look.enabled
This commit is contained in:
parent
77391dda1b
commit
18916e420a
@ -34,7 +34,6 @@ struct t_config_file *fset_config_file = NULL;
|
||||
/* fset config, look section */
|
||||
|
||||
struct t_config_option *fset_config_look_condition_catch_set;
|
||||
struct t_config_option *fset_config_look_enabled;
|
||||
struct t_config_option *fset_config_look_help_bar;
|
||||
struct t_config_option *fset_config_look_use_keys;
|
||||
struct t_config_option *fset_config_look_use_mute;
|
||||
@ -204,14 +203,6 @@ fset_config_init ()
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
fset_config_look_enabled = weechat_config_new_option (
|
||||
fset_config_file, ptr_section,
|
||||
"enabled", "boolean",
|
||||
N_("enable fset"),
|
||||
NULL, 0, 0, "on", NULL, 0,
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
fset_config_look_help_bar = weechat_config_new_option (
|
||||
fset_config_file, ptr_section,
|
||||
"help_bar", "boolean",
|
||||
|
@ -25,7 +25,6 @@
|
||||
extern struct t_config_file *fset_config_file;
|
||||
|
||||
extern struct t_config_option *fset_config_look_condition_catch_set;
|
||||
extern struct t_config_option *fset_config_look_enabled;
|
||||
extern struct t_config_option *fset_config_look_help_bar;
|
||||
extern struct t_config_option *fset_config_look_use_keys;
|
||||
extern struct t_config_option *fset_config_look_use_mute;
|
||||
|
@ -98,7 +98,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
|
||||
|
||||
fset_command_init ();
|
||||
|
||||
if (weechat_config_boolean (fset_config_look_enabled))
|
||||
if (weechat_config_boolean (fset_config_look_help_bar))
|
||||
fset_add_bar ();
|
||||
|
||||
fset_bar_item_update ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user