| 3338 stock_id = PIDGIN_STOCK_ANIMATION_TYPING1; |
3338 stock_id = PIDGIN_STOCK_ANIMATION_TYPING1; |
| 3339 tooltip = _("User is typing..."); |
3339 tooltip = _("User is typing..."); |
| 3340 } else { |
3340 } else { |
| 3341 stock_id = PIDGIN_STOCK_ANIMATION_TYPING5; |
3341 stock_id = PIDGIN_STOCK_ANIMATION_TYPING5; |
| 3342 tooltip = _("User has typed something and stopped"); |
3342 tooltip = _("User has typed something and stopped"); |
| 3343 g_source_remove(gtkconv->u.im->typing_timer); |
3343 if (gtkconv->u.im->typing_timer != 0) { |
| 3344 gtkconv->u.im->typing_timer = 0; |
3344 g_source_remove(gtkconv->u.im->typing_timer); |
| |
3345 gtkconv->u.im->typing_timer = 0; |
| |
3346 } |
| 3345 } |
3347 } |
| 3346 |
3348 |
| 3347 if (gtkwin->menu.typing_icon == NULL) |
3349 if (gtkwin->menu.typing_icon == NULL) |
| 3348 { |
3350 { |
| 3349 gtkwin->menu.typing_icon = gtk_image_new_from_stock(stock_id, GTK_ICON_SIZE_MENU); |
3351 gtkwin->menu.typing_icon = gtk_image_new_from_stock(stock_id, GTK_ICON_SIZE_MENU); |