# HG changeset patch # User Kosta Arvanitis # Date 1234734250 0 # Node ID 33ceb2b708cfc2e6b2969de76ba2015b11839402 # Parent 2d873973b4d62a322727f21225525597436d076e Close the tooltip window on a keypress event. Fixes #8150. committer: John Bailey diff -r 2d873973b4d6 -r 33ceb2b708cf pidgin/gtkblist.c --- 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)) { diff -r 2d873973b4d6 -r 33ceb2b708cf pidgin/gtkconv.c --- 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) {