Mercurial > dwindows
comparison gtk/dw.c @ 1402:8ff5b05318fb
Disabling tooltips on GTK2 does not seem to work... so...
we will set the tooltip to an empty string to be safe.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 27 Nov 2011 22:31:28 +0000 |
parents | 7266e030a3e3 |
children | 4256a3323d35 |
comparison
equal
deleted
inserted
replaced
1401:7266e030a3e3 | 1402:8ff5b05318fb |
---|---|
4379 { | 4379 { |
4380 gtk_tooltips_set_tip(tooltips, handle, text, NULL); | 4380 gtk_tooltips_set_tip(tooltips, handle, text, NULL); |
4381 gtk_tooltips_enable(tooltips); | 4381 gtk_tooltips_enable(tooltips); |
4382 } | 4382 } |
4383 else | 4383 else |
4384 { | |
4385 gtk_tooltips_set_tip(tooltips, handle, "", NULL); | |
4384 gtk_tooltips_disable(tooltips); | 4386 gtk_tooltips_disable(tooltips); |
4387 } | |
4385 } | 4388 } |
4386 | 4389 |
4387 /* | 4390 /* |
4388 * Create a new bitmap button window (widget) to be packed. | 4391 * Create a new bitmap button window (widget) to be packed. |
4389 * Parameters: | 4392 * Parameters: |