aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-cell-text.c8
-rw-r--r--widgets/text/e-text.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 5136c4e8fc..f82e0b60ae 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -1116,16 +1116,22 @@ tooltip_event (GtkWidget *window,
event->button.y = tooltip->cy;
gtk_signal_emit_by_name (GTK_OBJECT (tooltip->eti), "event",
event, &ret_val);
+ if (!ret_val)
+ gtk_propagate_event (GTK_WIDGET(GNOME_CANVAS_ITEM(tooltip->eti)->canvas), event);
+ ret_val = TRUE;
break;
case GDK_KEY_PRESS:
e_canvas_hide_tooltip (E_CANVAS(GNOME_CANVAS_ITEM(tooltip->eti)->canvas));
gtk_signal_emit_by_name (GTK_OBJECT (tooltip->eti), "event",
event, &ret_val);
+ if (!ret_val)
+ gtk_propagate_event (GTK_WIDGET(GNOME_CANVAS_ITEM(tooltip->eti)->canvas), event);
+ ret_val = TRUE;
break;
default:
break;
}
-
+
return ret_val;
}
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index e59bde6b7f..ceb09ab25d 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -2702,6 +2702,9 @@ tooltip_event(GtkWidget *tooltip, GdkEvent *event, EText *text)
/* Forward events to the text item */
gtk_signal_emit_by_name (GTK_OBJECT (text), "event", event,
&ret_val);
+ if (!ret_val)
+ gtk_propagate_event (GTK_WIDGET(GNOME_CANVAS_ITEM(text)->canvas), event);
+ ret_val = TRUE;
default:
break;
}