Mercurial > pidgin
diff src/buddy_chat.c @ 1735:00f74db70f2d
[gaim-migrate @ 1745]
have write_to_conv put on the timestamps for system messages.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 21 Apr 2001 00:32:40 +0000 |
| parents | e5ba877f51f2 |
| children | 3dfe4aefd366 |
line wrap: on
line diff
--- a/src/buddy_chat.c Fri Apr 20 23:04:48 2001 +0000 +++ b/src/buddy_chat.c Sat Apr 21 00:32:40 2001 +0000 @@ -541,12 +541,7 @@ play_sound(CHAT_JOIN); if (display_options & OPT_DISP_CHAT_LOGON) { - 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); + g_snprintf(tmp, sizeof(tmp), _("%s entered the room."), name); write_to_conv(b, tmp, WFLAG_SYSTEM, NULL); } } @@ -609,12 +604,7 @@ gtk_widget_show(list_item); if (display_options & OPT_DISP_CHAT_LOGON) { - 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); + g_snprintf(tmp, sizeof(tmp), _("%s is now known as %s"), old, new); write_to_conv(b, tmp, WFLAG_SYSTEM, NULL); } } @@ -657,12 +647,7 @@ play_sound(CHAT_LEAVE); if (display_options & OPT_DISP_CHAT_LOGON) { - 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); + g_snprintf(tmp, sizeof(tmp), _("%s left the room."), buddy); write_to_conv(b, tmp, WFLAG_SYSTEM, NULL); } }
