diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-30 03:22:24 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-30 03:22:24 +0800 |
commit | 3649d5dc6d7279d6c218d241232dea73c5c773d2 (patch) | |
tree | 89520e235371866a92f889e885eb30ed09f44b6c /widgets/table/e-table.c | |
parent | f0bcf06559405a3de5271f4aeb3472c8a2b7aeb3 (diff) | |
download | gsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.tar.gz gsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.tar.zst gsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.zip |
From mail:
2000-06-29 Christopher James Lahey <clahey@helixcode.com>
* message-list.c, mail-ops.c: Changed the name of
e_table_select_row to e_table_set_cursor_row.
From widgets/e-table:
2000-06-29 Christopher James Lahey <clahey@helixcode.com>
* e-table-click-to-add.c: Made this appear a bit better.
* e-table-defines.h: Cleaned this up a bit, added
ETableForeachFunc.
* 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: Changed e_table_select_row to
e_table_set_cursor_row. Changed e_table_get_selected_view_row to
e_table_get_cursor_row. Added e_table_selected_row_foreach.
* e-table-header-item.c: Fixed some warnings.
* e-table-sorted-variable.c: Removed some unneeded debugging print
statments.
* e-tree-example-1.c: Changed e_table_get_selected_view_row to
e_table_get_cursor_row.
svn path=/trunk/; revision=3799
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r-- | widgets/table/e-table.c | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 83d9422be6..198b1d6bb1 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -36,8 +36,6 @@ #include "e-table-click-to-add.h" #define COLUMN_HEADER_HEIGHT 16 -#define TITLE_HEIGHT 16 -#define GROUP_INDENT 10 #define PARENT_TYPE gtk_table_get_type () @@ -745,17 +743,28 @@ e_table_save_specification (ETable *e_table, gchar *filename) } void -e_table_select_row (ETable *e_table, int row) +e_table_set_cursor_row (ETable *e_table, int row) { - e_table_group_select_row(e_table->group, row); + e_table_group_set_cursor_row(e_table->group, row); } int -e_table_get_selected_view_row (ETable *e_table) +e_table_get_cursor_row (ETable *e_table) { - return e_table_group_get_selected_view_row(e_table->group); + return e_table_group_get_cursor_row(e_table->group); } +void +e_table_selected_row_foreach (ETable *e_table, + ETableForeachFunc callback, + gpointer closure) +{ + e_table_group_selected_row_foreach(e_table->group, + callback, + closure); +} + + EPrintable * e_table_get_printable (ETable *e_table) { |