aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-selection-model.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-28 06:21:10 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-28 06:21:10 +0800
commita7a767287fa0bc03c9e56d5ef3a791bcc1302d57 (patch)
treecd14125a84c1e7eaab9071dd91f538f349782cb3 /widgets/table/e-table-selection-model.h
parent613b4a4b5c420cbb45e35e3251f00258b02fb0f8 (diff)
downloadgsoc2013-evolution-a7a767287fa0bc03c9e56d5ef3a791bcc1302d57.tar.gz
gsoc2013-evolution-a7a767287fa0bc03c9e56d5ef3a791bcc1302d57.tar.zst
gsoc2013-evolution-a7a767287fa0bc03c9e56d5ef3a791bcc1302d57.zip
Make home and end keys move to the beginning and end of the row if cursor
2001-01-27 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_event): Make home and end keys move to the beginning and end of the row if cursor mode is set to E_TABLE_CURSOR_SIMPLE. Otherwise have %ETableSelectionModel handle them. * e-table-selection-model.c, e-table-selection-model.h: Added a "cursor_mode" argument. (e_table_selection_model_key_press): Made home and end keys move the beginning and end of the table if cursor_mode is E_TABLE_CURSOR_MODE_LINE. * e-table.c: Set the cursor-mode argument of our %ETableSelectionModel. svn path=/trunk/; revision=7864
Diffstat (limited to 'widgets/table/e-table-selection-model.h')
-rw-r--r--widgets/table/e-table-selection-model.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/table/e-table-selection-model.h b/widgets/table/e-table-selection-model.h
index 2761301747..b4e08ed6fe 100644
--- a/widgets/table/e-table-selection-model.h
+++ b/widgets/table/e-table-selection-model.h
@@ -34,6 +34,7 @@ typedef struct {
guint group_info_changed : 1;
GtkSelectionMode mode;
+ ETableCursorMode cursor_mode;
} ETableSelectionModel;
typedef struct {