Mercurial > pidgin
changeset 17222:591d6c3e9f1f
Stop the typing icon timer before switching conversations so the typing
icon correctly resumes animation when switching back to the conversation.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 24 May 2007 18:40:51 +0000 |
parents | da6e87c14cea |
children | 3cc729673b62 |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Thu May 24 11:38:43 2007 +0000 +++ b/pidgin/gtkconv.c Thu May 24 18:40:51 2007 +0000 @@ -7714,6 +7714,11 @@ gtkconv = PIDGIN_CONVERSATION(conv); + if (gtkconv->u.im->typing_timer != 0) { + g_source_remove(gtkconv->u.im->typing_timer); + gtkconv->u.im->typing_timer = 0; + } + stop_anim(NULL, gtkconv); } static void