summary refs log tree commit diff stats
path: root/plugins/xtray
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-08-09 20:51:32 +0200
committerBerke Viktor <berkeviktor@aol.com>2011-08-09 20:53:33 +0200
commita1f4443d657182a28b124b6a1390a26680f98fc5 (patch)
treed0c297315dc6e86e2fb4beaf747c58053117dca8 /plugins/xtray
parentafbd51dfe2b9c39795efda4e17199efeccc1b05e (diff)
include channel name in channel message and channel msg hilight event alerts (tdebaets)
Diffstat (limited to 'plugins/xtray')
-rw-r--r--plugins/xtray/callbacks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xtray/callbacks.cpp b/plugins/xtray/callbacks.cpp
index 18547ab3..443cb05d 100644
--- a/plugins/xtray/callbacks.cpp
+++ b/plugins/xtray/callbacks.cpp
@@ -89,12 +89,12 @@ int event_cb(char *word[], void *userdata)
 		{

 		case CHAN_HILIGHT:

 			_snprintf(szInfo, 512, "%s:\r\n%s", word[1], word[2]);

-			_snprintf(szName, 64, "Hilight");

+			_snprintf(szName, 64, "Highlight: %s", xchat_get_info (ph, "channel"));

 			dwInfoFlags = NIIF_INFO;

 			break;

 		case CHAN_MESSAGE:

 			_snprintf(szInfo, 512, "%s:\r\n%s", word[1], word[2]);

-			_snprintf(szName, 64, "Channel Message");

+			_snprintf(szName, 64, "Channel Message: %s", xchat_get_info (ph, "channel"));

 			dwInfoFlags = NIIF_INFO;

 			break;

 		case CHAN_TOPIC_CHANGE: