aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-group.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-27 04:33:39 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-27 04:33:39 +0800
commit32c3d29bbc14cc1d4c054eb9d6538b0199e90c61 (patch)
tree021834696ac26eae0b65be3e695f05a2afc030ad /widgets/table/e-table-group.c
parent580e879674ea981023756e1bdaa8d7309223c86b (diff)
downloadgsoc2013-evolution-32c3d29bbc14cc1d4c054eb9d6538b0199e90c61.tar
gsoc2013-evolution-32c3d29bbc14cc1d4c054eb9d6538b0199e90c61.tar.gz
gsoc2013-evolution-32c3d29bbc14cc1d4c054eb9d6538b0199e90c61.tar.bz2
gsoc2013-evolution-32c3d29bbc14cc1d4c054eb9d6538b0199e90c61.tar.lz
gsoc2013-evolution-32c3d29bbc14cc1d4c054eb9d6538b0199e90c61.tar.xz
gsoc2013-evolution-32c3d29bbc14cc1d4c054eb9d6538b0199e90c61.tar.zst
gsoc2013-evolution-32c3d29bbc14cc1d4c054eb9d6538b0199e90c61.zip
Added "table_selection_model" argument. Removed foreach function and
2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h: Added "table_selection_model" argument. Removed foreach function and selection notification. * e-table-group.c, e-table-group.h: Removed foreach function and selection notification. * e-table-header.c: Fixed header width calculation to include the last column. * e-table-item.c, e-table-item.h: Fixed this to use the new selection model. * e-table-scrolled.c, e-table-scrolled.h: Removed selection notification. * e-table-selection-model.c, e-table-selection-model.h: Finished notification signals and fixed a bunch of bit manipulations. Implemented do_something method. * e-table.c, e-table.h: Create an ETableSelectionModel and use it properly. svn path=/trunk/; revision=4363
Diffstat (limited to 'widgets/table/e-table-group.c')
-rw-r--r--widgets/table/e-table-group.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/widgets/table/e-table-group.c b/widgets/table/e-table-group.c
index 18f8084b2c..d3c6e2e08d 100644
--- a/widgets/table/e-table-group.c
+++ b/widgets/table/e-table-group.c
@@ -25,7 +25,6 @@
static GnomeCanvasGroupClass *etg_parent_class;
enum {
- ROW_SELECTION,
CURSOR_CHANGE,
DOUBLE_CLICK,
RIGHT_CLICK,
@@ -240,31 +239,6 @@ e_table_group_get_printable (ETableGroup *etg)
}
void
-e_table_group_selected_row_foreach (ETableGroup *etg,
- ETableForeachFunc func,
- gpointer closure)
-{
- g_return_if_fail (etg != NULL);
- g_return_if_fail (E_IS_TABLE_GROUP (etg));
-
- if (ETG_CLASS (etg)->selected_row_foreach)
- ETG_CLASS (etg)->selected_row_foreach (etg, func, closure);
-}
-
-
-
-void
-e_table_group_row_selection (ETableGroup *e_table_group, gint row, gboolean selected)
-{
- g_return_if_fail (e_table_group != NULL);
- g_return_if_fail (E_IS_TABLE_GROUP (e_table_group));
-
- gtk_signal_emit (GTK_OBJECT (e_table_group),
- etg_signals [ROW_SELECTION],
- row, selected);
-}
-
-void
e_table_group_cursor_change (ETableGroup *e_table_group, gint row)
{
g_return_if_fail (e_table_group != NULL);
@@ -364,7 +338,6 @@ etg_class_init (GtkObjectClass *object_class)
item_class->event = etg_event;
- klass->row_selection = NULL;
klass->cursor_change = NULL;
klass->double_click = NULL;
klass->right_click = NULL;
@@ -382,18 +355,9 @@ etg_class_init (GtkObjectClass *object_class)
klass->get_focus = etg_get_focus;
klass->get_ecol = NULL;
klass->get_printable = NULL;
- klass->selected_row_foreach = NULL;
etg_parent_class = gtk_type_class (PARENT_TYPE);
- etg_signals [ROW_SELECTION] =
- gtk_signal_new ("row_selection",
- GTK_RUN_LAST,
- object_class->type,
- GTK_SIGNAL_OFFSET (ETableGroupClass, row_selection),
- gtk_marshal_NONE__INT_INT,
- GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT);
-
etg_signals [CURSOR_CHANGE] =
gtk_signal_new ("cursor_change",
GTK_RUN_LAST,