aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r--widgets/table/e-cell-text.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 21133b1188..a8d2fa2a92 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -1328,6 +1328,16 @@ tooltip_event (GtkWidget *window,
}
}
+ event->button.x = tooltip->cx;
+ event->button.y = tooltip->cy;
+ gtk_signal_emit_by_name (GTK_OBJECT (tooltip->eti), "event",
+ event, &ret_val);
+ break;
+ case GDK_KEY_PRESS:
+ if (tooltip->window){
+ gtk_widget_destroy (tooltip->window);
+ tooltip->window = NULL;
+ }
gtk_signal_emit_by_name (GTK_OBJECT (tooltip->eti), "event",
event, &ret_val);
break;