Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
25102:2d873973b4d6 | 25103:33ceb2b708cf |
---|---|
1956 int curconv; | 1956 int curconv; |
1957 | 1957 |
1958 conv = gtkconv->active_conv; | 1958 conv = gtkconv->active_conv; |
1959 win = gtkconv->win; | 1959 win = gtkconv->win; |
1960 curconv = gtk_notebook_get_current_page(GTK_NOTEBOOK(win->notebook)); | 1960 curconv = gtk_notebook_get_current_page(GTK_NOTEBOOK(win->notebook)); |
1961 | |
1962 /* clear any tooltips */ | |
1963 pidgin_tooltip_destroy(); | |
1961 | 1964 |
1962 /* If CTRL was held down... */ | 1965 /* If CTRL was held down... */ |
1963 if (event->state & GDK_CONTROL_MASK) { | 1966 if (event->state & GDK_CONTROL_MASK) { |
1964 switch (event->keyval) { | 1967 switch (event->keyval) { |
1965 case GDK_Page_Down: | 1968 case GDK_Page_Down: |