aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-07-11 18:30:51 +0800
committerChris Lahey <clahey@src.gnome.org>2001-07-11 18:30:51 +0800
commit7b9622f8e072a98ae8dcf449347a6d6383ba4cea (patch)
treebb548bb2265e68b8e378fe0f7482b96c41b392fa /widgets/table/e-tree.c
parent0a71e607b1840e9e984337a02d09f88c750f7359 (diff)
downloadgsoc2013-evolution-7b9622f8e072a98ae8dcf449347a6d6383ba4cea.tar
gsoc2013-evolution-7b9622f8e072a98ae8dcf449347a6d6383ba4cea.tar.gz
gsoc2013-evolution-7b9622f8e072a98ae8dcf449347a6d6383ba4cea.tar.bz2
gsoc2013-evolution-7b9622f8e072a98ae8dcf449347a6d6383ba4cea.tar.lz
gsoc2013-evolution-7b9622f8e072a98ae8dcf449347a6d6383ba4cea.tar.xz
gsoc2013-evolution-7b9622f8e072a98ae8dcf449347a6d6383ba4cea.tar.zst
gsoc2013-evolution-7b9622f8e072a98ae8dcf449347a6d6383ba4cea.zip
Created this function for key presses that move in some way other than
2001-07-11 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h (e_selection_model_select_as_key_press): Created this function for key presses that move in some way other than just to the next or previous row. (e_selection_model_key_press): Use e_selection_model_select_as_key_press for handling home and end here. svn path=/trunk/; revision=10993
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r--widgets/table/e-tree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 29555ed785..4af1cc2dab 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -539,8 +539,8 @@ item_key_press (ETableItem *eti, int row, int col, GdkEvent *event, ETree *et)
y -= vadj->value;
e_tree_get_cell_at (et, 30, y, &row_local, &col_local);
row_local = e_tree_view_to_model_row (et, row_local);
- col_local = e_selection_model_cursor_col(E_SELECTION_MODEL (et->priv->selection));
- e_selection_model_do_something(E_SELECTION_MODEL (et->priv->selection), row_local, col_local, key->state);
+ col_local = e_selection_model_cursor_col (E_SELECTION_MODEL (et->priv->selection));
+ e_selection_model_select_as_key_press (E_SELECTION_MODEL (et->priv->selection), row_local, col_local, key->state);
return_val = 1;
break;
case GDK_Page_Up:
@@ -549,8 +549,8 @@ item_key_press (ETableItem *eti, int row, int col, GdkEvent *event, ETree *et)
y -= vadj->value;
e_tree_get_cell_at (et, 30, y, &row_local, &col_local);
row_local = e_tree_view_to_model_row (et, row_local);
- col_local = e_selection_model_cursor_col(E_SELECTION_MODEL (et->priv->selection));
- e_selection_model_do_something(E_SELECTION_MODEL (et->priv->selection), row_local, col_local, key->state);
+ col_local = e_selection_model_cursor_col (E_SELECTION_MODEL (et->priv->selection));
+ e_selection_model_select_as_key_press (E_SELECTION_MODEL (et->priv->selection), row_local, col_local, key->state);
return_val = 1;
break;
case '=':