forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
ad4983713f
commit
2daaea2f98
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
|
* 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_pointer (NULL, &x, NULL, NULL);
|
||||||
gdk_window_get_origin (widget->window, NULL, &y);
|
gdk_window_get_origin (widget->window, NULL, &y);
|
||||||
|
if (GTK_WIDGET_NO_WINDOW (widget))
|
||||||
|
y += widget->allocation.y;
|
||||||
|
|
||||||
x -= ((w >> 1) + 4);
|
x -= ((w >> 1) + 4);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user