diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2001-01-30 19:14:18 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-01-30 19:14:18 +0800 |
commit | 8ee392b8a3cea8965d3cc250c9e679d48f5d4aed (patch) | |
tree | f9f8ead9e5ea44d74d0c3e20c77180eac33aaabe /widgets/table/e-table-item.c | |
parent | 292149afa56873fe4dbc48a19f6645f1a8f2aa81 (diff) | |
download | gsoc2013-evolution-8ee392b8a3cea8965d3cc250c9e679d48f5d4aed.tar gsoc2013-evolution-8ee392b8a3cea8965d3cc250c9e679d48f5d4aed.tar.gz gsoc2013-evolution-8ee392b8a3cea8965d3cc250c9e679d48f5d4aed.tar.bz2 gsoc2013-evolution-8ee392b8a3cea8965d3cc250c9e679d48f5d4aed.tar.lz gsoc2013-evolution-8ee392b8a3cea8965d3cc250c9e679d48f5d4aed.tar.xz gsoc2013-evolution-8ee392b8a3cea8965d3cc250c9e679d48f5d4aed.tar.zst gsoc2013-evolution-8ee392b8a3cea8965d3cc250c9e679d48f5d4aed.zip |
Made carriage return finish editing.
2001-01-30 Christopher James Lahey <clahey@helixcode.com>
* e-table-click-to-add.c (etcta_event): Made carriage return
finish editing.
* e-table-item.c (eti_event): Made carriage return key press
signal go out before sending it to the selection model.
svn path=/trunk/; revision=7909
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index dc40e57f76..c2aa4d1ffa 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1941,11 +1941,10 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) eti->editing_col, eti->editing_row, E_CELL_EDITING); #endif } - return_val = e_table_selection_model_key_press(eti->selection, (GdkEventKey *) e); - if (!return_val) { - gtk_signal_emit (GTK_OBJECT (eti), eti_signals [KEY_PRESS], - model_to_view_row(eti, cursor_row), cursor_col, e, &return_val); - } + gtk_signal_emit (GTK_OBJECT (eti), eti_signals [KEY_PRESS], + model_to_view_row(eti, cursor_row), cursor_col, e, &return_val); + if (!return_val) + return_val = e_table_selection_model_key_press(eti->selection, (GdkEventKey *) e); break; default: |