Revision b043ef74cd2699857810ee4e31137890a68d4462
nwalp at pidgin.im
nwalp at pidgin.im
Wed Apr 4 06:18:48 EDT 2007
o -----------------------------------------------------------------
| Revision: b043ef74cd2699857810ee4e31137890a68d4462
| Ancestor: e592576086a8eb6017c5e1ba12141d31a1ece575
| Author: nwalp at pidgin.im
| Date: 2007-04-04T10:18:17
| Branch: im.pidgin.pidgin
|
| Modified files:
| pidgin/gtkconv.c
|
| ChangeLog:
|
| don't show the typing animation when the typing conversation isn't the active tab
|
| ============================================================
| --- pidgin/gtkconv.c e8b186bd4c383763fed35a411ddbd583007132d1
| +++ pidgin/gtkconv.c 117e2569d857a75b3136f366dfae95a305bfe05d
| @@ -3105,8 +3105,13 @@ typing_animation(gpointer data) {
| static gboolean
| typing_animation(gpointer data) {
| PidginConversation *gtkconv = data;
| + PidginWindow *gtkwin = gtkconv->win;
| const char *stock_id = NULL;
| - PidginWindow *gtkwin = gtkconv->win;
| +
| + if(gtkconv != pidgin_conv_window_get_active_gtkconv(gtkwin)) {
| + return FALSE;
| + }
| +
| switch (rand() % 5) {
| case 0:
| stock_id = PIDGIN_STOCK_ANIMATION_TYPING0;
To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from b043ef74cd2699857810ee4e31137890a68d4462
More information about the Commits
mailing list