From f9b79bb0f6f9f372539af46e26c93c1669762c79 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 2 Jun 2000 02:57:39 +0000 Subject: Added a "key_press" signal. 2000-06-01 Christopher James Lahey * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Added a "key_press" signal. svn path=/trunk/; revision=3366 --- widgets/table/e-table-group-container.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'widgets/table/e-table-group-container.c') diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index 04ddb011c1..4aa7e2fe8a 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -323,6 +323,13 @@ child_double_click (ETableGroup *etg, int row, e_table_group_double_click (E_TABLE_GROUP (etgc), row); } +static gint +child_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, + ETableGroupContainer *etgc) +{ + return e_table_group_key_press (E_TABLE_GROUP (etgc), row, col, event); +} + static void etgc_add (ETableGroup *etg, gint row) { @@ -378,6 +385,8 @@ etgc_add (ETableGroup *etg, gint row) GTK_SIGNAL_FUNC (child_cursor_change), etgc); gtk_signal_connect (GTK_OBJECT (child), "double_click", GTK_SIGNAL_FUNC (child_double_click), etgc); + gtk_signal_connect (GTK_OBJECT (child), "key_press", + GTK_SIGNAL_FUNC (child_key_press), etgc); child_node->child = child; child_node->key = e_table_model_duplicate_value (etg->model, etgc->ecol->col_idx, val); child_node->count = 1; -- cgit