Commit 2daaea2f authored by George Lebl's avatar George Lebl Committed by George Lebl
Browse files

for NO_WINDOW widgets, add their allocation.y to the position of the

Sat Jan 16 19:42:48 1999  George Lebl  <jirka@5z.com>

        * gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
          to the position of the tooltip. This fixes tooltip positioning
          problems with some widgets such as a checkbox.
parent ad498371
Sat Jan 16 19:42:48 1999 George Lebl <jirka@5z.com>
* gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
to the position of the tooltip. This fixes tooltip positioning
problems with some widgets such as a checkbox.
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
......
Sat Jan 16 19:42:48 1999 George Lebl <jirka@5z.com>
* gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
to the position of the tooltip. This fixes tooltip positioning
problems with some widgets such as a checkbox.
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
......
Sat Jan 16 19:42:48 1999 George Lebl <jirka@5z.com>
* gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
to the position of the tooltip. This fixes tooltip positioning
problems with some widgets such as a checkbox.
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
......
Sat Jan 16 19:42:48 1999 George Lebl <jirka@5z.com>
* gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
to the position of the tooltip. This fixes tooltip positioning
problems with some widgets such as a checkbox.
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
......
Sat Jan 16 19:42:48 1999 George Lebl <jirka@5z.com>
* gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
to the position of the tooltip. This fixes tooltip positioning
problems with some widgets such as a checkbox.
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
......
Sat Jan 16 19:42:48 1999 George Lebl <jirka@5z.com>
* gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
to the position of the tooltip. This fixes tooltip positioning
problems with some widgets such as a checkbox.
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
......
Sat Jan 16 19:42:48 1999 George Lebl <jirka@5z.com>
* gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
to the position of the tooltip. This fixes tooltip positioning
problems with some widgets such as a checkbox.
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
......
......@@ -472,6 +472,8 @@ gtk_tooltips_draw_tips (GtkTooltips * tooltips)
gdk_window_get_pointer (NULL, &x, NULL, NULL);
gdk_window_get_origin (widget->window, NULL, &y);
if (GTK_WIDGET_NO_WINDOW (widget))
y += widget->allocation.y;
x -= ((w >> 1) + 4);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment