pidgin: 3ebe14d1: Prevent tooltips from lingering while sc...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sun Feb 15 17:00:42 EST 2009


-----------------------------------------------------------------
Revision: 3ebe14d1b8ca04993fcd01a243ec40d9c4bcb101
Ancestor: 4b6198c460b25b840d0af8465babfb33bcc63f8d
Author: karvanitis at hotmail.com
Date: 2009-02-15T21:45:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3ebe14d1b8ca04993fcd01a243ec40d9c4bcb101

Modified files:
        pidgin/pidgintooltip.c

ChangeLog: 

Prevent tooltips from lingering while scrolling in the buddy list window.
Fixes #8233.

-------------- next part --------------
============================================================
--- pidgin/pidgintooltip.c	351156fd6027d9096f1247fa41f69274d5af53e7
+++ pidgin/pidgintooltip.c	5ec73164bef1649bf14d28e4ba01fb34d5375841
@@ -359,6 +359,7 @@ gboolean pidgin_tooltip_setup_for_treevi
 
 	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 @@ gboolean pidgin_tooltip_setup_for_widget
 
 	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;
 }


More information about the Commits mailing list