comparison src/gtkconv.c @ 6016:1e4a574bb46d

[gaim-migrate @ 6466] Removed move of the #if 0'ed code from gtkprefs.c. I think Chip or Nathan or whoever left this here so that they could go back later and make sure all the old #if 0'ed stuff works correctly with the new prefs, so to reassure whoever did that, I've been verifying that all these prefs work as they should. Made the "use server alias" checkbox instantly affect conversation titles. Fixed a crash caused by trying to enable buddy icon animation for static images which happened after toggling the "enable buddy icon animation" preference to the O-N positiO-N. All you people need to hop on the bug fix bandwagon. It's happy hour. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 04 Jul 2003 19:12:06 +0000
parents 225902daab80
children 54c37db13279
comparison
equal deleted inserted replaced
6015:225902daab80 6016:1e4a574bb46d
4918 if (!GAIM_IS_GTK_CONVERSATION(conv)) 4918 if (!GAIM_IS_GTK_CONVERSATION(conv))
4919 return; 4919 return;
4920 4920
4921 gtkconv = GAIM_GTK_CONVERSATION(conv); 4921 gtkconv = GAIM_GTK_CONVERSATION(conv);
4922 4922
4923 if (gdk_pixbuf_animation_is_static_image(gtkconv->u.im->anim))
4924 return;
4925
4923 delay = gdk_pixbuf_animation_iter_get_delay_time(gtkconv->u.im->iter) / 10; 4926 delay = gdk_pixbuf_animation_iter_get_delay_time(gtkconv->u.im->iter) / 10;
4924 4927
4925 if (gtkconv->u.im->anim) 4928 if (gtkconv->u.im->anim)
4926 gtkconv->u.im->icon_timer = g_timeout_add(delay * 10, redraw_icon, 4929 gtkconv->u.im->icon_timer = g_timeout_add(delay * 10, redraw_icon,
4927 conv); 4930 conv);