diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-06-14 11:03:01 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-06-14 11:03:01 +0200 |
commit | 412bf73673a5d3b20d6eecfef17a5128474fd8cb (patch) | |
tree | c1e7c0c0348adaec15f4d538da24e8b434c86f35 /src/gui | |
parent | 5ecdee569f4397108146c781dbda12b982b94657 (diff) | |
download | weechat-412bf73673a5d3b20d6eecfef17a5128474fd8cb.zip |
Add new option weechat.look.hotlist_names_merged_buffers
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-bar-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index 9471c315d..d50a20de4 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -997,7 +997,8 @@ gui_bar_item_default_hotlist (void *data, struct t_gui_bar_item *item, sprintf (buf + strlen (buf), "%d", ptr_hotlist->buffer->number); - if ((gui_buffer_count_merged_buffers (ptr_hotlist->buffer->number) > 1) + if ((CONFIG_BOOLEAN(config_look_hotlist_names_merged_buffers) + && (gui_buffer_count_merged_buffers (ptr_hotlist->buffer->number) > 1)) || (display_name && (CONFIG_INTEGER(config_look_hotlist_names_count) != 0) && (names_count < CONFIG_INTEGER(config_look_hotlist_names_count)))) |