changeset 1727:02653161cbce

[gaim-migrate @ 1737] bleh. this should be handled by write_to_conv. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 19 Apr 2001 03:53:23 +0000
parents 004725b3a851
children 467a3b36623a
files src/buddy_chat.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy_chat.c	Thu Apr 19 00:05:50 2001 +0000
+++ b/src/buddy_chat.c	Thu Apr 19 03:53:23 2001 +0000
@@ -540,7 +540,12 @@
 		play_sound(CHAT_JOIN);
 
 	if (display_options & OPT_DISP_CHAT_LOGON) {
-		g_snprintf(tmp, sizeof(tmp), _("<B>%s entered the room.</B>"), name);
+		if (display_options & OPT_DISP_SHOW_TIME)
+			g_snprintf(tmp, sizeof(tmp),
+					_("<FONT SIZE=\"2\">(%s) </FONT><B>%s entered the room.</B>"),
+						date(), name);
+		else
+			g_snprintf(tmp, sizeof(tmp), _("<B>%s entered the room.</B>"), name);
 		write_to_conv(b, tmp, WFLAG_SYSTEM, NULL);
 	}
 }