diff pidgin/gtkconv.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 a05e9cf91efb
children 4b8c4870b13a 2a34a3f5da2e 9fcff08ce726 25319f536d93 e0e0cecdcd16
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sun Feb 15 21:42:34 2009 +0000
+++ b/pidgin/gtkconv.c	Sun Feb 15 21:44:10 2009 +0000
@@ -1959,6 +1959,9 @@
 	win      = gtkconv->win;
 	curconv = gtk_notebook_get_current_page(GTK_NOTEBOOK(win->notebook));
 
+	/* clear any tooltips */
+	pidgin_tooltip_destroy();
+
 	/* If CTRL was held down... */
 	if (event->state & GDK_CONTROL_MASK) {
 		switch (event->keyval) {