Mercurial > pidgin
diff libpurple/protocols/msn/switchboard.c @ 29244:22b8a92fb5ee
Adds attention UI to Pidgin (can send attentions using a menu item)
API to "fire" an attention on a conversation, triggering signals.
Currently gtksound is set up to use the alert sound for received and sent
attentions.
Refs #2788
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Mon, 20 Oct 2008 18:44:06 +0000 |
parents | fb722b8b4c74 |
children | d855ff9cf839 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c Thu Oct 16 22:20:52 2008 +0000 +++ b/libpurple/protocols/msn/switchboard.c Mon Oct 20 18:44:06 2008 +0000 @@ -1031,6 +1031,9 @@ else purple_prpl_got_attention(account->gc, user, MSN_NUDGE); + + purple_conversation_attention(swboard->conv, user, 0, + PURPLE_MESSAGE_RECV, time(NULL)); } else if (!strcmp(id, "2")) { /* Wink */