Mercurial > pidgin.yaz
changeset 1728:467a3b36623a
[gaim-migrate @ 1738]
whoops. these too.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 19 Apr 2001 03:55:12 +0000 |
parents | 02653161cbce |
children | 251c19bf5763 |
files | src/buddy_chat.c |
diffstat | 1 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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), _("<B>%s is now known as %s</B>"), old, new); + if (display_options & OPT_DISP_SHOW_TIME) + g_snprintf(tmp, sizeof(tmp), + _("<FONT SIZE=\"2\">(%s) </FONT><B>%s is now known as %s.</B>"), + date(), old, new); + else + g_snprintf(tmp, sizeof(tmp), _("<B>%s is now known as %s</B>"), 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), _("<B>%s left the room.</B>"), buddy); + if (display_options & OPT_DISP_SHOW_TIME) + g_snprintf(tmp, sizeof(tmp), + _("<FONT SIZE=\"2\">(%s) </FONT><B>%s left the room.</B>"), + date(), buddy); + else + g_snprintf(tmp, sizeof(tmp), _("<B>%s left the room.</B>"), buddy); write_to_conv(b, tmp, WFLAG_SYSTEM, NULL); } }