From: Eric W. <war...@us...> - 2001-12-16 21:50:40
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv21993 Modified Files: conversation.c Log Message: thanks Brian Bernas Index: conversation.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/conversation.c,v retrieving revision 1.318 retrieving revision 1.319 diff -u -d -r1.318 -r1.319 --- conversation.c 2001/12/16 10:11:55 1.318 +++ conversation.c 2001/12/16 21:50:36 1.319 @@ -3034,7 +3034,7 @@ { #if USE_PIXBUF if (c->icon) - gtk_container_remove(GTK_CONTAINER(c->bbox), c->icon->parent); + gtk_container_remove(GTK_CONTAINER(c->bbox), c->icon->parent->parent); c->icon = NULL; if (c->anim) gdk_pixbuf_animation_unref(c->anim); @@ -3059,6 +3059,7 @@ GdkPixbuf *buf; GtkWidget *event; + GtkWidget *frame; GdkPixbuf *scale; GdkPixmap *pm; GdkBitmap *bm; @@ -3114,8 +3115,13 @@ gdk_pixbuf_render_pixmap_and_mask(scale, &pm, &bm, 0); gdk_pixbuf_unref(scale); + frame = gtk_frame_new(NULL); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_IN); + gtk_box_pack_start(GTK_BOX(c->bbox), frame, FALSE, FALSE, 5); + gtk_widget_show(frame); + event = gtk_event_box_new(); - gtk_box_pack_start(GTK_BOX(c->bbox), event, FALSE, FALSE, 5); + gtk_container_add(GTK_CONTAINER(frame), event); gtk_signal_connect(GTK_OBJECT(event), "button-press-event", GTK_SIGNAL_FUNC(icon_menu), c); gtk_widget_show(event); |