Mercurial > pidgin.yaz
diff src/plugins.c @ 2102:899c22dcee42
[gaim-migrate @ 2112]
I haven't actually tested that it works, but theoretically it does.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 01 Aug 2001 20:31:53 +0000 |
parents | b66aca8e8dce |
children | 0b81421021fd |
line wrap: on
line diff
--- a/src/plugins.c Wed Aug 01 19:22:07 2001 +0000 +++ b/src/plugins.c Wed Aug 01 20:31:53 2001 +0000 @@ -725,6 +725,9 @@ case event_draw_menu: sprintf(buf, "event_draw_menu"); break; + case event_im_displayed: + sprintf(buf, "event_im_displayed"); + break; default: sprintf(buf, "event_unknown"); break; @@ -777,6 +780,7 @@ /* struct gaim_connection *, char *, char ** */ case event_im_send: + case event_im_displayed: case event_chat_send: { void (*function)(struct gaim_connection *, char *, char **, @@ -953,6 +957,11 @@ case event_draw_menu: g_snprintf(buf, sizeof buf, "\"%s\"", (char *)arg2); break; + case event_im_displayed: + g_snprintf(buf, sizeof buf, "\"%s\" \"%s\" %s", + ((struct gaim_connection *)arg1)->username, (char *)arg2, + (char *)arg3 ? (char *)arg3 : "(null)"); + break; default: break; }