changeset 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 33ceb2b708cf
children 5949c8a0bba8
files pidgin/pidgintooltip.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;
 }