src/gtkconv.c

changeset 7854
b8594b759a30
parent 7853
cd8b631ff166
child 7855
272c6a3311d1
equal deleted inserted replaced
7853:cd8b631ff166 7854:b8594b759a30
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,

mercurial