Mercurial > pidgin.yaz
comparison libpurple/conversation.c @ 27115:2ab648c328cc
Consistently emit conversation-updated for typing state changes.
Also reformatted ChangeLog.API a bit (I noticed there's a Changed section)
and added a comment to the psychic plugin (since I had to look up why it
was doing that).
Patch from Florian Quze. Closes #7605.
committer: Paul Aurich <paul@darkrain42.org>
author | Florian Quèze <florian@instantbird.org> |
---|---|
date | Fri, 05 Jun 2009 02:30:31 +0000 |
parents | 1ba4bbd3b0cd |
children | 01f1929d0936 fb593c327870 42c64c41cf87 |
comparison
equal
deleted
inserted
replaced
27114:4c3b1bb3ba91 | 27115:2ab648c328cc |
---|---|
53 PurpleConvIm *im; | 53 PurpleConvIm *im; |
54 | 54 |
55 im = PURPLE_CONV_IM(c); | 55 im = PURPLE_CONV_IM(c); |
56 | 56 |
57 purple_conv_im_set_typing_state(im, PURPLE_NOT_TYPING); | 57 purple_conv_im_set_typing_state(im, PURPLE_NOT_TYPING); |
58 purple_conv_im_update_typing(im); | |
59 purple_conv_im_stop_typing_timeout(im); | 58 purple_conv_im_stop_typing_timeout(im); |
60 | 59 |
61 return FALSE; | 60 return FALSE; |
62 } | 61 } |
63 | 62 |
1048 case PURPLE_NOT_TYPING: | 1047 case PURPLE_NOT_TYPING: |
1049 purple_signal_emit(purple_conversations_get_handle(), | 1048 purple_signal_emit(purple_conversations_get_handle(), |
1050 "buddy-typing-stopped", im->conv->account, im->conv->name); | 1049 "buddy-typing-stopped", im->conv->account, im->conv->name); |
1051 break; | 1050 break; |
1052 } | 1051 } |
1052 | |
1053 purple_conv_im_update_typing(im); | |
1053 } | 1054 } |
1054 } | 1055 } |
1055 | 1056 |
1056 PurpleTypingState | 1057 PurpleTypingState |
1057 purple_conv_im_get_typing_state(const PurpleConvIm *im) | 1058 purple_conv_im_get_typing_state(const PurpleConvIm *im) |