Mercurial > pidgin.yaz
diff pidgin/pidgintooltip.c @ 25104:5587f50886a5
Prevent tooltips from lingering while scrolling in the buddy list window.
Fixes #8233.
committer: John Bailey <rekkanoryo@rekkanoryo.org>
author | Kosta Arvanitis <karvanitis@hotmail.com> |
---|---|
date | Sun, 15 Feb 2009 21:45:37 +0000 |
parents | 2d873973b4d6 |
children | 21277e69e06c |
line wrap: on
line diff
--- a/pidgin/pidgintooltip.c Sun Feb 15 21:44:10 2009 +0000 +++ b/pidgin/pidgintooltip.c Sun Feb 15 21:45:37 2009 +0000 @@ -359,6 +359,7 @@ g_signal_connect(G_OBJECT(tree), "motion-notify-event", G_CALLBACK(row_motion_cb), tdata); g_signal_connect(G_OBJECT(tree), "leave-notify-event", G_CALLBACK(widget_leave_cb), NULL); + g_signal_connect(G_OBJECT(tree), "scroll-event", G_CALLBACK(widget_leave_cb), NULL); g_signal_connect_swapped(G_OBJECT(tree), "destroy", G_CALLBACK(destroy_tooltip_data), tdata); return TRUE; } @@ -387,6 +388,7 @@ g_signal_connect(G_OBJECT(widget), "motion-notify-event", G_CALLBACK(widget_motion_cb), wdata); g_signal_connect(G_OBJECT(widget), "leave-notify-event", G_CALLBACK(widget_leave_cb), NULL); + g_signal_connect(G_OBJECT(widget), "scroll-event", G_CALLBACK(widget_leave_cb), NULL); g_signal_connect_swapped(G_OBJECT(widget), "destroy", G_CALLBACK(destroy_tooltip_data), wdata); return TRUE; }