summaryrefslogtreecommitdiff
path: root/src/plugins/demo
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-12-20 15:08:30 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-12-20 15:08:30 +0100
commit2ee9f7b0fcac460fca5597ec349309e83de64d00 (patch)
tree2a2648efc0a638ad534c747a30d5874aa72065f1 /src/plugins/demo
parent1340ce6b41cfb0fa1f69d4d1c5c3000eac3e6f61 (diff)
downloadweechat-2ee9f7b0fcac460fca5597ec349309e83de64d00.zip
Replace the 10 nick color options and number of nick colors by a single option "weechat.color.chat_nick_colors" (comma separated list of colors)
Diffstat (limited to 'src/plugins/demo')
-rw-r--r--src/plugins/demo/demo.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c
index c55ab8f85..27e2f29c5 100644
--- a/src/plugins/demo/demo.c
+++ b/src/plugins/demo/demo.c
@@ -68,13 +68,12 @@ demo_printf_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
_("%sdemo message with error prefix"),
weechat_prefix ("error"));
weechat_printf (buffer,
- _("colors: %s buffer %s nick1 %s nick2 %s nick3 "
- "%s nick4"),
+ "%s: %s chat_buffer %s chat_server "
+ "%s chat_host",
+ _("colors"),
weechat_color ("chat_buffer"),
- weechat_color ("chat_nick_color1"),
- weechat_color ("chat_nick_color2"),
- weechat_color ("chat_nick_color3"),
- weechat_color ("chat_nick_color4"));
+ weechat_color ("chat_server"),
+ weechat_color ("chat_host"));
}
return WEECHAT_RC_OK;