From bc885bb22ebc81170ee0c6a602a836d4763777c7 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 22 May 2001 17:25:36 +0000 Subject: The double_click signal on the table item now emits the model row instead 2001-05-22 Christopher James Lahey * e-table-group-leaf.c (etgl_double_click): The double_click signal on the table item now emits the model row instead of the view row so don't do the view to model conversion here. svn path=/trunk/; revision=9924 --- widgets/table/e-table-group-leaf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c index bbc3b663ac..d527991a41 100644 --- a/widgets/table/e-table-group-leaf.c +++ b/widgets/table/e-table-group-leaf.c @@ -121,8 +121,7 @@ etgl_cursor_activated (GtkObject *object, gint row, ETableGroupLeaf *etgl) static void etgl_double_click (GtkObject *object, gint row, gint col, GdkEvent *event, ETableGroupLeaf *etgl) { - if (row < E_TABLE_SUBSET(etgl->ets)->n_map) - e_table_group_double_click (E_TABLE_GROUP(etgl), E_TABLE_SUBSET(etgl->ets)->map_table[row], col, event); + e_table_group_double_click (E_TABLE_GROUP(etgl), row, col, event); } static gint -- cgit v1.2.3