Modified: desktop/trunk/lib/tooltips.class.php (69 => 70)
--- desktop/trunk/lib/tooltips.class.php 2006-12-12 17:28:02 UTC (rev 69)
+++ desktop/trunk/lib/tooltips.class.php 2006-12-12 17:37:57 UTC (rev 70)
@@ -89,9 +89,11 @@
}
else
{
- // flags for menu items must be set incorrectly, because you can set tooltips on them
- if(!($widget instanceof GtkMenuItem) && $widget->flags() & Gtk::NO_WINDOW)
+ // flags for menu items/buttons must be set incorrectly, because you can set tooltips on them
+ if(!($widget instanceof GtkMenuItem) && !($widget instanceof GtkButton) &&
+ $widget->flags() & Gtk::NO_WINDOW)
{
+ echo $widget;
$parent = $widget->get_parent();
$box = new GtkEventBox();
if($parent instanceof GtkBox)