summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-08-17 23:13:32 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-08-17 23:13:32 +0000
commitaacbf82675e3fb3371d941cf2b805cd5594fb4c0 (patch)
treed50d69e0dc70fccd4a583c8ffcd3bdef6f16ef81
parente64138b70a47483f4f4ed2d7e10f37f06dd88ab9 (diff)
downloadweechat-aacbf82675e3fb3371d941cf2b805cd5594fb4c0.zip
IRC raw buffer now uses join/part prefix with color to display messages
-rw-r--r--ChangeLog3
-rw-r--r--src/gui/gui-common.c4
-rw-r--r--weechat/ChangeLog3
-rw-r--r--weechat/src/gui/gui-common.c4
4 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index b7ed5bf41..7d0b9e54a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
-ChangeLog - 2006-08-17
+ChangeLog - 2006-08-18
Version 0.2.0 (under dev!):
+ * IRC raw buffer now uses join/part prefix with color to display messages
* added send of "quit" message to server when using /disconnect
* fixed "wallops" command when received, now displayed by WeeChat (bug #17441)
* fixed /wallops command (now many words are correctly sent)
diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c
index 37b71c0e4..8dcaa167a 100644
--- a/src/gui/gui-common.c
+++ b/src/gui/gui-common.c
@@ -380,8 +380,8 @@ gui_printf_raw_data (void *server, int send, char *message)
GUI_COLOR(COLOR_WIN_CHAT_SERVER),
((t_irc_server *)server)->name,
GUI_COLOR(COLOR_WIN_CHAT_DARK),
- GUI_COLOR(COLOR_WIN_CHAT_CHANNEL),
- (send) ? "<<--" : "-->>",
+ GUI_COLOR((send) ? COLOR_WIN_CHAT_PART : COLOR_WIN_CHAT_JOIN),
+ (send) ? PREFIX_PART : PREFIX_JOIN,
GUI_COLOR(COLOR_WIN_CHAT),
message);
if (pos)
diff --git a/weechat/ChangeLog b/weechat/ChangeLog
index b7ed5bf41..7d0b9e54a 100644
--- a/weechat/ChangeLog
+++ b/weechat/ChangeLog
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
-ChangeLog - 2006-08-17
+ChangeLog - 2006-08-18
Version 0.2.0 (under dev!):
+ * IRC raw buffer now uses join/part prefix with color to display messages
* added send of "quit" message to server when using /disconnect
* fixed "wallops" command when received, now displayed by WeeChat (bug #17441)
* fixed /wallops command (now many words are correctly sent)
diff --git a/weechat/src/gui/gui-common.c b/weechat/src/gui/gui-common.c
index 37b71c0e4..8dcaa167a 100644
--- a/weechat/src/gui/gui-common.c
+++ b/weechat/src/gui/gui-common.c
@@ -380,8 +380,8 @@ gui_printf_raw_data (void *server, int send, char *message)
GUI_COLOR(COLOR_WIN_CHAT_SERVER),
((t_irc_server *)server)->name,
GUI_COLOR(COLOR_WIN_CHAT_DARK),
- GUI_COLOR(COLOR_WIN_CHAT_CHANNEL),
- (send) ? "<<--" : "-->>",
+ GUI_COLOR((send) ? COLOR_WIN_CHAT_PART : COLOR_WIN_CHAT_JOIN),
+ (send) ? PREFIX_PART : PREFIX_JOIN,
GUI_COLOR(COLOR_WIN_CHAT),
message);
if (pos)