aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-03-15 05:50:06 +0800
committerChris Lahey <clahey@src.gnome.org>2002-03-15 05:50:06 +0800
commiteafda9ba48e7f29a9f98792a498eb9c568f81d59 (patch)
tree6a35f11480891f38d672c29c17fff71167132208 /widgets/table/e-tree.c
parentbd3790d66e3f9f6f90193dac94758a964191f1ab (diff)
downloadgsoc2013-evolution-eafda9ba48e7f29a9f98792a498eb9c568f81d59.tar.gz
gsoc2013-evolution-eafda9ba48e7f29a9f98792a498eb9c568f81d59.tar.zst
gsoc2013-evolution-eafda9ba48e7f29a9f98792a498eb9c568f81d59.zip
Implemented capitalization keybindings.
2002-03-14 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c: Implemented capitalization keybindings. * e-tree.c (item_key_press): Added parentheses to the default case here. svn path=/trunk/; revision=16168
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r--widgets/table/e-tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index c78342ef88..f4000091e1 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -863,9 +863,9 @@ item_key_press (ETableItem *eti, int row, int col, GdkEvent *event, ETree *et)
/* Fallthrough */
default:
if ((key->state & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK)) == 0
- && (key->keyval >= GDK_a && key->keyval <= GDK_z) ||
- (key->keyval >= GDK_A && key->keyval <= GDK_Z) ||
- (key->keyval >= GDK_0 && key->keyval <= GDK_9)) {
+ && ((key->keyval >= GDK_a && key->keyval <= GDK_z) ||
+ (key->keyval >= GDK_A && key->keyval <= GDK_Z) ||
+ (key->keyval >= GDK_0 && key->keyval <= GDK_9))) {
e_table_search_input_character (et->priv->search, key->keyval);
}
path = e_tree_table_adapter_node_at_row(et->priv->etta, row);