changeset 9317:8e1ddf5d81d0

[gaim-migrate @ 10125] I went and made real-big buddy icons (most likely MSN or Yahoo) scale up to 96x96 in the convo window. It's actually not as bad as I thought it would be, but I'll let you guys decide what to do with it before Sunday as I'm going to Long Island now.1 committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 19 Jun 2004 16:05:50 +0000
parents d9d4b987e194
children 01c50436203e
files src/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Sat Jun 19 15:52:17 2004 +0000
+++ b/src/gtkconv.c	Sat Jun 19 16:05:50 2004 +0000
@@ -110,8 +110,8 @@
 #define NUM_NICK_COLORS (sizeof(nick_colors) / sizeof(*nick_colors))
 
 #define SCALE(x) \
-	((gdk_pixbuf_animation_get_width(x) <= 48 && \
-	  gdk_pixbuf_animation_get_height(x) <= 48) ? 48 : 50)
+	((gdk_pixbuf_animation_get_width(x) <= 48 &&  gdk_pixbuf_animation_get_height(x) <= 48) ? 48 : \
+	 (gdk_pixbuf_animation_get_width(x) > 75 && gdk_pixbuf_animation_get_height(x) > 75) ? 96 : 50)
 
 typedef struct
 {