changeset 2936:dd71bb88bc58

[gaim-migrate @ 2949] Let's try this for a little while and see what we think. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 24 Jan 2002 21:43:09 +0000
parents 75f29c7178a3
children 261895f72f8a
files ChangeLog src/conversation.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 24 20:39:15 2002 +0000
+++ b/ChangeLog	Thu Jan 24 21:43:09 2002 +0000
@@ -1,6 +1,7 @@
 Gaim: The Pimpin' Penguin IM Clone thats good for the soul! 
 
 version 0.52:
+	* Better buddy icon transparency (thanks SeanEgan)
 
 version 0.51 (01/24/2002):
 	* Arrow buttons in log viewer and some other dialogs
--- a/src/conversation.c	Thu Jan 24 20:39:15 2002 +0000
+++ b/src/conversation.c	Thu Jan 24 21:43:09 2002 +0000
@@ -3112,11 +3112,11 @@
 		c->icon_timer = gtk_timeout_add(delay * 10, redraw_icon, c);
 	}
 
-	gdk_pixbuf_render_pixmap_and_mask(scale, &pm, &bm, 0);
+	gdk_pixbuf_render_pixmap_and_mask(scale, &pm, &bm, 100);
 	gdk_pixbuf_unref(scale);
 
 	frame = gtk_frame_new(NULL);
-	gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_IN);
+	gtk_frame_set_shadow_type(GTK_FRAME(frame), bm ? GTK_SHADOW_NONE : GTK_SHADOW_IN);
 	gtk_box_pack_start(GTK_BOX(c->bbox), frame, FALSE, FALSE, 5);
 	gtk_widget_show(frame);