summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-03-21 13:19:43 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-03-21 13:19:43 +0100
commit8a68adbf3fb9eeda31c57c012e89465ed01fafb5 (patch)
tree394ce705e34491a6b98c9696ab9c842f7d1678f9 /src/core
parenta49c8b2e3055d234e8f5871cb48f58da992287b7 (diff)
downloadweechat-8a68adbf3fb9eeda31c57c012e89465ed01fafb5.zip
Add color around plugin name in help for commands
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-command.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index e2aae65b0..33a222f9c 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -1306,11 +1306,11 @@ command_help (void *data, struct t_gui_buffer *buffer,
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL,
- "[%s%s] %s/%s %s%s",
- (ptr_hook->plugin) ?
- _("plugin:") : "weechat",
- (ptr_hook->plugin) ?
- ptr_hook->plugin->name : "",
+ "%s[%s%s%s] %s/%s %s%s",
+ GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
+ GUI_COLOR(GUI_COLOR_CHAT),
+ plugin_get_name (ptr_hook->plugin),
+ GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT_BUFFER),
HOOK_COMMAND(ptr_hook, command),
GUI_COLOR(GUI_COLOR_CHAT),