| 6582 pidgin_gdk_pixbuf_make_round(scale); |
6582 pidgin_gdk_pixbuf_make_round(scale); |
| 6583 gtkconv->u.im->icon_container = gtk_vbox_new(FALSE, 0); |
6583 gtkconv->u.im->icon_container = gtk_vbox_new(FALSE, 0); |
| 6584 |
6584 |
| 6585 event = gtk_event_box_new(); |
6585 event = gtk_event_box_new(); |
| 6586 gtk_container_add(GTK_CONTAINER(gtkconv->u.im->icon_container), event); |
6586 gtk_container_add(GTK_CONTAINER(gtkconv->u.im->icon_container), event); |
| |
6587 gtk_widget_add_events(event, |
| |
6588 GDK_POINTER_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK); |
| 6587 g_signal_connect(G_OBJECT(event), "button-press-event", |
6589 g_signal_connect(G_OBJECT(event), "button-press-event", |
| 6588 G_CALLBACK(icon_menu), gtkconv); |
6590 G_CALLBACK(icon_menu), gtkconv); |
| |
6591 g_signal_connect(G_OBJECT(event), "motion-notify-event", |
| |
6592 G_CALLBACK(pidgin_conv_motion_cb), gtkconv); |
| |
6593 g_signal_connect(G_OBJECT(event), "leave-notify-event", |
| |
6594 G_CALLBACK(pidgin_conv_leave_cb), gtkconv); |
| 6589 gtk_widget_show(event); |
6595 gtk_widget_show(event); |
| 6590 |
6596 |
| 6591 gtkconv->u.im->icon = gtk_image_new_from_pixbuf(scale); |
6597 gtkconv->u.im->icon = gtk_image_new_from_pixbuf(scale); |
| 6592 gtk_container_add(GTK_CONTAINER(event), gtkconv->u.im->icon); |
6598 gtk_container_add(GTK_CONTAINER(event), gtkconv->u.im->icon); |
| 6593 gtk_widget_show(gtkconv->u.im->icon); |
6599 gtk_widget_show(gtkconv->u.im->icon); |