aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-03-15 04:40:21 +0800
committerChris Lahey <clahey@src.gnome.org>2002-03-15 04:40:21 +0800
commit4f298eab9e83c45991e7dce29ab556b90e080464 (patch)
tree3db866a043f4ea2371ec075fda17b23e3b469593 /widgets/table/e-table.c
parent1911f19678bf2dbfa0fb1a8f316293c12c060872 (diff)
downloadgsoc2013-evolution-4f298eab9e83c45991e7dce29ab556b90e080464.tar.gz
gsoc2013-evolution-4f298eab9e83c45991e7dce29ab556b90e080464.tar.zst
gsoc2013-evolution-4f298eab9e83c45991e7dce29ab556b90e080464.zip
Made this return a boolean that returns whether the ETableSearch used the
2002-03-14 Christopher James Lahey <clahey@ximian.com> * e-table-search.c, e-table-search.h (e_table_search_backspace): Made this return a boolean that returns whether the ETableSearch used the backspace at all. * e-table.c (group_key_press), e-tree.c (item_key_press): Used the new return value from e_table_search_backspace. svn path=/trunk/; revision=16166
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 50d0d12e3b..7e101b2363 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -754,8 +754,9 @@ group_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et
return_val = 1;
break;
case GDK_BackSpace:
- e_table_search_backspace (et->search);
- break;
+ if (e_table_search_backspace (et->search))
+ return TRUE;
+ /* Fall through */
default:
if ((key->state & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK)) == 0
&& ((key->keyval >= GDK_a && key->keyval <= GDK_z) ||