[283] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] tooltips on scale widgets

daemon@ATHENA.MIT.EDU (David Mosberger-Tang)
Sat Jun 7 18:38:42 1997

Date: Sat, 7 Jun 1997 15:38:01 -0700
From: David Mosberger-Tang <davidm@azstarnet.com>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

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)

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post