summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-14 11:03:01 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-14 11:03:01 +0200
commit412bf73673a5d3b20d6eecfef17a5128474fd8cb (patch)
treec1e7c0c0348adaec15f4d538da24e8b434c86f35 /src/core
parent5ecdee569f4397108146c781dbda12b982b94657 (diff)
downloadweechat-412bf73673a5d3b20d6eecfef17a5128474fd8cb.zip
Add new option weechat.look.hotlist_names_merged_buffers
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-config.c6
-rw-r--r--src/core/wee-config.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index d1c4d3e12..e853fada5 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -80,6 +80,7 @@ struct t_config_option *config_look_highlight;
struct t_config_option *config_look_hotlist_names_count;
struct t_config_option *config_look_hotlist_names_length;
struct t_config_option *config_look_hotlist_names_level;
+struct t_config_option *config_look_hotlist_names_merged_buffers;
struct t_config_option *config_look_hotlist_short_names;
struct t_config_option *config_look_hotlist_sort;
struct t_config_option *config_look_item_time_format;
@@ -1281,6 +1282,11 @@ config_weechat_init_options ()
"of: 1=join/part, 2=message, 4=private, 8=highlight, "
"for example: 12=private+highlight)"),
NULL, 1, 15, "12", NULL, 0, NULL, NULL, &config_change_buffer_content, NULL, NULL, NULL);
+ config_look_hotlist_names_merged_buffers = config_file_new_option (
+ weechat_config_file, ptr_section,
+ "hotlist_names_merged_buffers", "boolean",
+ N_("if set, force display of names in hotlist for merged buffers"),
+ NULL, 0, 0, "off", NULL, 0, NULL, NULL, &config_change_buffer_content, NULL, NULL, NULL);
config_look_hotlist_short_names = config_file_new_option (
weechat_config_file, ptr_section,
"hotlist_short_names", "boolean",
diff --git a/src/core/wee-config.h b/src/core/wee-config.h
index 12b359204..d6bbb85be 100644
--- a/src/core/wee-config.h
+++ b/src/core/wee-config.h
@@ -95,6 +95,7 @@ extern struct t_config_option *config_look_highlight;
extern struct t_config_option *config_look_hotlist_names_count;
extern struct t_config_option *config_look_hotlist_names_length;
extern struct t_config_option *config_look_hotlist_names_level;
+extern struct t_config_option *config_look_hotlist_names_merged_buffers;
extern struct t_config_option *config_look_hotlist_short_names;
extern struct t_config_option *config_look_hotlist_sort;
extern struct t_config_option *config_look_item_time_format;