tooltips on scale widgets
- From: David Mosberger-Tang <davidm azstarnet com>
- To: gtk-list redhat com
- Subject: tooltips on scale widgets
- Date: Sat, 7 Jun 1997 15:38:01 -0700
For quite a while now, tooltips on scale widgets do not seem to work
anymore. The following patch fixes the problem, though I suspect that
it has some undesired side-effects. Anybody have a better fix for
this problem?
--david
--- gtk/gtktooltips.c~ Tue Jun 3 17:38:07 1997
+++ gtk/gtktooltips.c Sat Jun 7 15:25:11 1997
@@ -492,9 +492,11 @@
else if (event->type == GDK_MOTION_NOTIFY || event->type == GDK_ENTER_NOTIFY)
{
old_widget = tooltips->active_widget;
+#if 0
if (widget->window != event->crossing.window)
tooltips->active_widget = NULL;
else
+#endif
gtk_tooltips_set_active_widget (tooltips, widget);
if (old_widget != tooltips->active_widget)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]