Mercurial > pidgin
changeset 18781:8b0663abb488
add tooltip to buddy icon in conversation too
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 02 Aug 2007 19:15:40 +0000 |
parents | c94f1699fdee |
children | 450a3dae477a 6840a28e8f1d |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Thu Aug 02 19:05:31 2007 +0000 +++ b/pidgin/gtkconv.c Thu Aug 02 19:15:40 2007 +0000 @@ -6584,8 +6584,14 @@ event = gtk_event_box_new(); gtk_container_add(GTK_CONTAINER(gtkconv->u.im->icon_container), event); + gtk_widget_add_events(event, + GDK_POINTER_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK); g_signal_connect(G_OBJECT(event), "button-press-event", G_CALLBACK(icon_menu), gtkconv); + g_signal_connect(G_OBJECT(event), "motion-notify-event", + G_CALLBACK(pidgin_conv_motion_cb), gtkconv); + g_signal_connect(G_OBJECT(event), "leave-notify-event", + G_CALLBACK(pidgin_conv_leave_cb), gtkconv); gtk_widget_show(event); gtkconv->u.im->icon = gtk_image_new_from_pixbuf(scale);