summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-05-31 20:52:56 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-06-25 16:35:27 +0200
commit18916e420a2ab15de5b8be7905df9a2985b2c74d (patch)
tree0c2dce8ed90560fbe9ce227ef04f465355e17a1f /src
parent77391dda1b6a229e0fa93f0f279917aca276b208 (diff)
downloadweechat-18916e420a2ab15de5b8be7905df9a2985b2c74d.zip
fset: remove obsolete option fset.look.enabled
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fset/fset-config.c9
-rw-r--r--src/plugins/fset/fset-config.h1
-rw-r--r--src/plugins/fset/fset.c2
3 files changed, 1 insertions, 11 deletions
diff --git a/src/plugins/fset/fset-config.c b/src/plugins/fset/fset-config.c
index 8ab295bfc..adde59df8 100644
--- a/src/plugins/fset/fset-config.c
+++ b/src/plugins/fset/fset-config.c
@@ -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",
diff --git a/src/plugins/fset/fset-config.h b/src/plugins/fset/fset-config.h
index 24ea3840b..2ecc98e37 100644
--- a/src/plugins/fset/fset-config.h
+++ b/src/plugins/fset/fset-config.h
@@ -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;
diff --git a/src/plugins/fset/fset.c b/src/plugins/fset/fset.c
index 74ae90123..38d6f462a 100644
--- a/src/plugins/fset/fset.c
+++ b/src/plugins/fset/fset.c
@@ -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 ();