aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.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-table.c
parent0a71e607b1840e9e984337a02d09f88c750f7359 (diff)
downloadgsoc2013-evolution-7b9622f8e072a98ae8dcf449347a6d6383ba4cea.tar.gz
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-table.c')
-rw-r--r--widgets/table/e-table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 8b6a1b8d0d..a11d940bfe 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -490,8 +490,8 @@ group_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et
y -= vadj->value;
e_table_get_cell_at (et, 30, y, &row_local, &col_local);
row_local = e_table_view_to_model_row (et, row_local);
- col_local = e_selection_model_cursor_col(E_SELECTION_MODEL (et->selection));
- e_selection_model_do_something(E_SELECTION_MODEL (et->selection), row_local, col_local, key->state);
+ col_local = e_selection_model_cursor_col (E_SELECTION_MODEL (et->selection));
+ e_selection_model_select_as_key_press (E_SELECTION_MODEL (et->selection), row_local, col_local, key->state);
return_val = 1;
break;
case GDK_Page_Up:
@@ -500,8 +500,8 @@ group_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et
y -= vadj->value;
e_table_get_cell_at (et, 30, y, &row_local, &col_local);
row_local = e_table_view_to_model_row (et, row_local);
- col_local = e_selection_model_cursor_col(E_SELECTION_MODEL (et->selection));
- e_selection_model_do_something(E_SELECTION_MODEL (et->selection), row_local, col_local, key->state);
+ col_local = e_selection_model_cursor_col (E_SELECTION_MODEL (et->selection));
+ e_selection_model_select_as_key_press (E_SELECTION_MODEL (et->selection), row_local, col_local, key->state);
return_val = 1;
break;
default: