1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 06:46:38 +02:00

Add new option weechat.look.hotlist_names_merged_buffers

This commit is contained in:
Sebastien Helleu
2009-06-14 11:03:01 +02:00
parent 5ecdee569f
commit 412bf73673
13 changed files with 54 additions and 10 deletions
+2 -1
View File
@@ -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))))