diff pidgin/gtkblist.c @ 25103:33ceb2b708cf

Close the tooltip window on a keypress event. Fixes #8150. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author Kosta Arvanitis <karvanitis@hotmail.com>
date Sun, 15 Feb 2009 21:44:10 +0000
parents 008f186c7bc7
children 2cece7df80c3
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sun Feb 15 21:42:34 2009 +0000
+++ b/pidgin/gtkblist.c	Sun Feb 15 21:44:10 2009 +0000
@@ -4554,6 +4554,9 @@
 	if (!gtkblist)
 		return FALSE;
 
+	/* clear any tooltips */
+	pidgin_blist_tooltip_destroy();
+
 	widget = gtk_window_get_focus(GTK_WINDOW(gtkblist->window));
 
 	if (GTK_IS_IMHTML(widget) || GTK_IS_ENTRY(widget)) {