mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
core: change format of buffer name in output of /buffer
Now the full name of buffer is displayed, without parentheses around the plugin name. The old ouput was: [1] (core) weechat (notification: all) [1] (irc) server.freenode (notification: all) [2] (irc) freenode.#weechat (notification: all) Now it is: [1] core.weechat (notification: all) [1] irc.server.freenode (notification: all) [2] irc.freenode.#weechat (notification: all)
This commit is contained in:
@@ -565,13 +565,14 @@ COMMAND_CALLBACK(buffer)
|
||||
ptr_buffer = ptr_buffer->next_buffer)
|
||||
{
|
||||
gui_chat_printf (NULL,
|
||||
_(" %s[%s%d%s]%s (%s) %s%s%s (notify: %s)"),
|
||||
_(" %s[%s%d%s]%s %s%s.%s%s%s (notify: %s)"),
|
||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
||||
GUI_COLOR(GUI_COLOR_CHAT),
|
||||
ptr_buffer->number,
|
||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
||||
GUI_COLOR(GUI_COLOR_CHAT),
|
||||
GUI_COLOR(GUI_COLOR_CHAT_BUFFER),
|
||||
gui_buffer_get_plugin_name (ptr_buffer),
|
||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
||||
GUI_COLOR(GUI_COLOR_CHAT_BUFFER),
|
||||
ptr_buffer->name,
|
||||
GUI_COLOR(GUI_COLOR_CHAT),
|
||||
|
||||
Reference in New Issue
Block a user