mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
core: add messages counts in hotlist for each buffer, option weechat.look.hotlist_buffer_separator and tag "notify_none"
New options: - weechat.look.hotlist_buffer_separator - weechat.look.hotlist_count_max - weechat.look.hotlist_count_min_msg - weechat.color.status_count_msg - weechat.color.status_count_private - weechat.color.status_count_highlight - weechat.color.status_count_other
This commit is contained in:
@@ -944,18 +944,19 @@ logger_backlog (struct t_gui_buffer *buffer, const char *filename, int lines)
|
||||
{
|
||||
if (datetime != 0)
|
||||
{
|
||||
weechat_printf_date_tags (buffer, datetime, "no_highlight",
|
||||
weechat_printf_date_tags (buffer, datetime,
|
||||
"no_highlight,notify_none",
|
||||
"%s", pos_message + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat_printf_tags (buffer, "no_highlight",
|
||||
weechat_printf_tags (buffer, "no_highlight,notify_none",
|
||||
"%s", ptr_lines->data);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat_printf_tags (buffer, "no_highlight",
|
||||
weechat_printf_tags (buffer, "no_highlight,notify_none",
|
||||
"%s", ptr_lines->data);
|
||||
}
|
||||
num_lines++;
|
||||
@@ -965,9 +966,9 @@ logger_backlog (struct t_gui_buffer *buffer, const char *filename, int lines)
|
||||
logger_tail_free (last_lines);
|
||||
if (num_lines > 0)
|
||||
{
|
||||
weechat_printf (buffer,
|
||||
_("===\t========== End of backlog (%d lines) =========="),
|
||||
num_lines);
|
||||
weechat_printf_tags (buffer, "no_highlight,notify_none",
|
||||
_("===\t========== End of backlog (%d lines) =========="),
|
||||
num_lines);
|
||||
weechat_buffer_set (buffer, "unread", "");
|
||||
}
|
||||
weechat_buffer_set (buffer, "print_hooks_enabled", "1");
|
||||
|
||||
Reference in New Issue
Block a user