diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-04-17 00:20:52 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-04-17 00:20:52 +0800 |
commit | 62e82291e808731ec8d97fffe4528c641d31d939 (patch) | |
tree | c52cd6422d51d804643de626d83f56cdf4ba2f3a /widgets/table | |
parent | 500f1edcf48fd75b9dfc21c14efd9f58c51de844 (diff) | |
download | gsoc2013-evolution-62e82291e808731ec8d97fffe4528c641d31d939.tar gsoc2013-evolution-62e82291e808731ec8d97fffe4528c641d31d939.tar.gz gsoc2013-evolution-62e82291e808731ec8d97fffe4528c641d31d939.tar.bz2 gsoc2013-evolution-62e82291e808731ec8d97fffe4528c641d31d939.tar.lz gsoc2013-evolution-62e82291e808731ec8d97fffe4528c641d31d939.tar.xz gsoc2013-evolution-62e82291e808731ec8d97fffe4528c641d31d939.tar.zst gsoc2013-evolution-62e82291e808731ec8d97fffe4528c641d31d939.zip |
Propagate the event after sending it to the base EText.
2001-04-16 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (tooltip_event): Propagate the event after
sending it to the base EText.
svn path=/trunk/; revision=9379
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-cell-text.c | 8 |
1 files changed, 7 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; } |