Mercurial > pidgin
comparison src/gtkconv.c @ 7854:1e8322fc19b5
[gaim-migrate @ 8508]
Merry X-Mas
(My priest uses the term "X-Mas," to refer to the secular celebration that
coincides with Advent, and Christmas to refer to the actual Christmas season
directly after Advent and "X-Mas.")
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 13 Dec 2003 19:34:40 +0000 |
parents | 340df1652af1 |
children | a3c9d0a1658e |
comparison
equal
deleted
inserted
replaced
7853:340df1652af1 | 7854:1e8322fc19b5 |
---|---|
60 | 60 |
61 /* XXX */ | 61 /* XXX */ |
62 #include "gaim.h" | 62 #include "gaim.h" |
63 | 63 |
64 #define AUTO_RESPONSE "<AUTO-REPLY> : " | 64 #define AUTO_RESPONSE "<AUTO-REPLY> : " |
65 | |
66 #define SEND_COLOR "#267726" | |
67 #define RECV_COLOR "#A82F22F" | |
65 | 68 |
66 static char nick_colors[][8] = { | 69 static char nick_colors[][8] = { |
67 "#ba55d3", /* Medium Orchid */ | 70 "#ba55d3", /* Medium Orchid */ |
68 "#ee82ee", /* Violet */ | 71 "#ee82ee", /* Violet */ |
69 "#c715b4", /* Medium Violet Red */ | 72 "#c715b4", /* Medium Violet Red */ |
4565 m = m % NUM_NICK_COLORS; | 4568 m = m % NUM_NICK_COLORS; |
4566 | 4569 |
4567 strcpy(color, nick_colors[m]); | 4570 strcpy(color, nick_colors[m]); |
4568 } | 4571 } |
4569 else | 4572 else |
4570 strcpy(color, "#A82F2F"); | 4573 strcpy(color, RECV_COLOR); |
4571 } | 4574 } |
4572 else if (flags & GAIM_MESSAGE_SEND) | 4575 else if (flags & GAIM_MESSAGE_SEND) |
4573 strcpy(color, "#16569E"); | 4576 strcpy(color, SEND_COLOR); |
4574 } | 4577 } |
4575 } | 4578 } |
4576 | 4579 |
4577 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_timestamps")) | 4580 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_timestamps")) |
4578 g_snprintf(buf, BUF_LONG, | 4581 g_snprintf(buf, BUF_LONG, |