# HG changeset patch # User Eric Warmenhoven # Date 987652512 0 # Node ID 467a3b36623a4dcd564d7636dcbdc75e95c82aad # Parent 02653161cbce3e8a85d6afe8a88e3d2af4e16d87 [gaim-migrate @ 1738] whoops. these too. committer: Tailor Script diff -r 02653161cbce -r 467a3b36623a src/buddy_chat.c --- a/src/buddy_chat.c Thu Apr 19 03:53:23 2001 +0000 +++ b/src/buddy_chat.c Thu Apr 19 03:55:12 2001 +0000 @@ -608,7 +608,12 @@ gtk_widget_show(list_item); if (display_options & OPT_DISP_CHAT_LOGON) { - g_snprintf(tmp, sizeof(tmp), _("%s is now known as %s"), old, new); + if (display_options & OPT_DISP_SHOW_TIME) + g_snprintf(tmp, sizeof(tmp), + _("(%s) %s is now known as %s."), + date(), old, new); + else + g_snprintf(tmp, sizeof(tmp), _("%s is now known as %s"), old, new); write_to_conv(b, tmp, WFLAG_SYSTEM, NULL); } } @@ -651,7 +656,12 @@ play_sound(CHAT_LEAVE); if (display_options & OPT_DISP_CHAT_LOGON) { - g_snprintf(tmp, sizeof(tmp), _("%s left the room."), buddy); + if (display_options & OPT_DISP_SHOW_TIME) + g_snprintf(tmp, sizeof(tmp), + _("(%s) %s left the room."), + date(), buddy); + else + g_snprintf(tmp, sizeof(tmp), _("%s left the room."), buddy); write_to_conv(b, tmp, WFLAG_SYSTEM, NULL); } }