diff options
author | Miguel de Icaza <miguel@gnu.org> | 1999-11-28 11:12:22 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-11-28 11:12:22 +0800 |
commit | 8d75b6689bdf5dc7c1efad65867cba2a656f2dcc (patch) | |
tree | b023c7f3a14daa812fd46882017f307cef2cb36f /widgets/e-table-group.c | |
parent | be9d0c05dbf3a8f10333ee6dc839673afb5befa5 (diff) | |
download | gsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.tar gsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.tar.gz gsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.tar.bz2 gsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.tar.lz gsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.tar.xz gsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.tar.zst gsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.zip |
beginning of the keyboard navigation.
1999-11-27 Miguel de Icaza <miguel@gnu.org>
* e-table-item.c (eti_event): beginning of the keyboard navigation.
* e-table-model.c (e_table_model_row_changed): new function.
(e_table_model_cell_changed): new function.
(e_table_model_class_init): New signals.
* e-table-item.c (eti_request_region_redraw): x2, y2 offsets were
wrong.
(eti_select): Repaint selected region.
(eti_request_region_redraw): Fix range.
(eti_draw): Correct offset computation here.
(e_table_item_class_init): New method: row_selection, handles the
selection.
Now it implement GTK_SELECTION_SINGLE and GTK_SELECTION_MULTIPLE.
Focusing and selection should be correct now.
svn path=/trunk/; revision=1441
Diffstat (limited to 'widgets/e-table-group.c')
-rw-r--r-- | widgets/e-table-group.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/e-table-group.c b/widgets/e-table-group.c index bc751229a4..b1e681d255 100644 --- a/widgets/e-table-group.c +++ b/widgets/e-table-group.c @@ -76,10 +76,11 @@ e_table_group_append_child (ETableGroup *etg, ETableGroup *child) etg->u.children = g_slist_append (etg->u.children, child); } +#if 0 int e_table_group_size (ETableGroup *etg) { - g_return_if_fail (etg != NULL); + g_return_val_if_fail (etg != NULL, 0); if (etg->is_leaf) return e_table_model_height (etg->u.table); @@ -96,3 +97,4 @@ e_table_group_size (ETableGroup *etg) } } +#endif |