From 4f298eab9e83c45991e7dce29ab556b90e080464 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 14 Mar 2002 20:40:21 +0000 Subject: Made this return a boolean that returns whether the ETableSearch used the 2002-03-14 Christopher James Lahey * 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 --- widgets/table/e-tree.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'widgets/table/e-tree.c') diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index 38133b7e56..c78342ef88 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -858,8 +858,9 @@ item_key_press (ETableItem *eti, int row, int col, GdkEvent *event, ETree *et) return_val = 1; break; case GDK_BackSpace: - e_table_search_backspace (et->priv->search); - break; + if (e_table_search_backspace (et->priv->search)) + return TRUE; + /* Fallthrough */ default: if ((key->state & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK)) == 0 && (key->keyval >= GDK_a && key->keyval <= GDK_z) || -- cgit v1.2.3