diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-07-27 04:33:39 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-07-27 04:33:39 +0800 |
commit | 32c3d29bbc14cc1d4c054eb9d6538b0199e90c61 (patch) | |
tree | 021834696ac26eae0b65be3e695f05a2afc030ad /widgets/table/e-table-scrolled.c | |
parent | 580e879674ea981023756e1bdaa8d7309223c86b (diff) | |
download | gsoc2013-evolution-32c3d29bbc14cc1d4c054eb9d6538b0199e90c61.tar.gz 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-scrolled.c')
-rw-r--r-- | widgets/table/e-table-scrolled.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/widgets/table/e-table-scrolled.c b/widgets/table/e-table-scrolled.c index b8260b6407..1a7b5251ad 100644 --- a/widgets/table/e-table-scrolled.c +++ b/widgets/table/e-table-scrolled.c @@ -28,7 +28,6 @@ static GtkObjectClass *parent_class; enum { - ROW_SELECTION, CURSOR_CHANGE, DOUBLE_CLICK, RIGHT_CLICK, @@ -48,14 +47,6 @@ enum { static gint ets_signals [LAST_SIGNAL] = { 0, }; static void -row_selection_proxy (ETable *et, int row, gboolean selected, ETableScrolled *ets) -{ - gtk_signal_emit (GTK_OBJECT (ets), - ets_signals [ROW_SELECTION], - row, selected); -} - -static void cursor_change_proxy (ETable *et, int row, ETableScrolled *ets) { gtk_signal_emit (GTK_OBJECT (ets), @@ -117,8 +108,6 @@ e_table_scrolled_real_construct (ETableScrolled *ets) gtk_container_add(GTK_CONTAINER(ets), GTK_WIDGET(ets->table)); - gtk_signal_connect(GTK_OBJECT(ets->table), "row_selection", - GTK_SIGNAL_FUNC(row_selection_proxy), ets); gtk_signal_connect(GTK_OBJECT(ets->table), "cursor_change", GTK_SIGNAL_FUNC(cursor_change_proxy), ets); gtk_signal_connect(GTK_OBJECT(ets->table), "double_click", @@ -297,20 +286,11 @@ e_table_scrolled_class_init (GtkObjectClass *object_class) object_class->set_arg = ets_set_arg; object_class->get_arg = ets_get_arg; - klass->row_selection = NULL; klass->cursor_change = NULL; klass->double_click = NULL; klass->right_click = NULL; klass->key_press = NULL; - ets_signals [ROW_SELECTION] = - gtk_signal_new ("row_selection", - GTK_RUN_LAST, - object_class->type, - GTK_SIGNAL_OFFSET (ETableScrolledClass, row_selection), - gtk_marshal_NONE__INT_INT, - GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT); - ets_signals [CURSOR_CHANGE] = gtk_signal_new ("cursor_change", GTK_RUN_LAST, |