forked from AuroraMiddleware/gtk
Call gtk_tooltip_hide_tooltip() even if the tooltip is not visible yet.
2007-07-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call gtk_tooltip_hide_tooltip() even if the tooltip is not visible yet. This fixes annoying dangling tooltips on systray icons. svn path=/trunk/; revision=18544
This commit is contained in:
parent
ffed09f28a
commit
ef8bdfb703
@ -1,3 +1,10 @@
|
||||
2007-07-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
|
||||
gtk_tooltip_hide_tooltip() even if the tooltip is not
|
||||
visible yet. This fixes annoying dangling tooltips
|
||||
on systray icons.
|
||||
|
||||
2007-07-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkiconcachevalidator.c: Silence the validator.
|
||||
|
@ -1118,7 +1118,7 @@ _gtk_tooltip_handle_event (GdkEvent *event)
|
||||
/* Hide the tooltip when there's no new tooltip widget */
|
||||
if (!has_tooltip_widget)
|
||||
{
|
||||
if (current_tooltip && GTK_TOOLTIP_VISIBLE (current_tooltip))
|
||||
if (current_tooltip)
|
||||
gtk_tooltip_hide_tooltip (current_tooltip);
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user