comparison src/gtkconv.c @ 8192:36f8dcea9648

[gaim-migrate @ 8913] Luke pointed out that chat's don't have icons. I pointed out that I'm dumb. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 31 Jan 2004 20:33:05 +0000
parents 90a1fbd2493d
children f9a086012545
comparison
equal deleted inserted replaced
8191:90a1fbd2493d 8192:36f8dcea9648
2566 win = (GaimConvWindow *)user_data; 2566 win = (GaimConvWindow *)user_data;
2567 conv = gaim_conv_window_get_active_conversation(win); 2567 conv = gaim_conv_window_get_active_conversation(win);
2568 2568
2569 g_return_if_fail(conv != NULL); 2569 g_return_if_fail(conv != NULL);
2570 2570
2571 if (gaim_conversation_get_type(conv) != GAIM_CONV_IM)
2572 return;
2573
2571 gtkconv = GAIM_GTK_CONVERSATION(conv); 2574 gtkconv = GAIM_GTK_CONVERSATION(conv);
2572 2575
2573 stop_anim(NULL, conv); 2576 stop_anim(NULL, conv);
2574 } 2577 }
2575 2578
2609 2612
2610 /* 2613 /*
2611 * We pause icons when they are not visible. If this icon should 2614 * We pause icons when they are not visible. If this icon should
2612 * be animated then start it back up again.lll 2615 * be animated then start it back up again.lll
2613 */ 2616 */
2614 if (gtkconv->u.im->animate) 2617 if ((gaim_conversation_get_type(conv) == GAIM_CONV_IM) &&
2618 (gtkconv->u.im->animate))
2615 start_anim(NULL, conv); 2619 start_anim(NULL, conv);
2616 2620
2617 gtk_widget_grab_focus(gtkconv->entry); 2621 gtk_widget_grab_focus(gtkconv->entry);
2618 2622
2619 gtk_window_set_title(GTK_WINDOW(gtkwin->window), 2623 gtk_window_set_title(GTK_WINDOW(gtkwin->window),