comparison pidgin/gtkconv.c @ 17278: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 cb5bd3c045a9
children 3cc729673b62
comparison
equal deleted inserted replaced
17277:da6e87c14cea 17278:591d6c3e9f1f
7712 if (purple_conversation_get_type(conv) != PURPLE_CONV_TYPE_IM) 7712 if (purple_conversation_get_type(conv) != PURPLE_CONV_TYPE_IM)
7713 return; 7713 return;
7714 7714
7715 gtkconv = PIDGIN_CONVERSATION(conv); 7715 gtkconv = PIDGIN_CONVERSATION(conv);
7716 7716
7717 if (gtkconv->u.im->typing_timer != 0) {
7718 g_source_remove(gtkconv->u.im->typing_timer);
7719 gtkconv->u.im->typing_timer = 0;
7720 }
7721
7717 stop_anim(NULL, gtkconv); 7722 stop_anim(NULL, gtkconv);
7718 } 7723 }
7719 static void 7724 static void
7720 close_window(GtkWidget *w, PidginWindow *win) 7725 close_window(GtkWidget *w, PidginWindow *win)
7721 { 7726 {