diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-05-01 12:01:05 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-05-01 12:01:05 +0800 |
commit | eb5dc08dc91a593357a6c1b1db98fac8cdb1662e (patch) | |
tree | 95a4c1a740939467e6f179c73a13594c684e9cfc /widgets/e-table/e-table.c | |
parent | 64fbed6351453bc9e61c15cfe7267d6df4574ac0 (diff) | |
download | gsoc2013-evolution-eb5dc08dc91a593357a6c1b1db98fac8cdb1662e.tar.gz gsoc2013-evolution-eb5dc08dc91a593357a6c1b1db98fac8cdb1662e.tar.zst gsoc2013-evolution-eb5dc08dc91a593357a6c1b1db98fac8cdb1662e.zip |
Made this more reentrant.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* e-table-header-item.c: Made this more reentrant.
* e-table-sorted-variable.c, e-table-sorted-variable.h: Does a
proper resort when the sorting info changes.
* e-table.c, e-table.h: Made it so that ETable doesn't destroy and
recreate the entire table when sorting info changes.
svn path=/trunk/; revision=2704
Diffstat (limited to 'widgets/e-table/e-table.c')
-rw-r--r-- | widgets/e-table/e-table.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c index 1c89a45ea9..515ca35f95 100644 --- a/widgets/e-table/e-table.c +++ b/widgets/e-table/e-table.c @@ -65,9 +65,6 @@ et_destroy (GtkObject *object) et->table_row_change_id); gtk_signal_disconnect (GTK_OBJECT (et->model), et->table_cell_change_id); - if (et->sort_info_change_id) - gtk_signal_disconnect (GTK_OBJECT (et->sort_info), - et->sort_info_change_id); if (et->group_info_change_id) gtk_signal_disconnect (GTK_OBJECT (et->sort_info), et->group_info_change_id); @@ -96,7 +93,6 @@ e_table_init (GtkObject *object) gtk_table->homogeneous = FALSE; e_table->sort_info = NULL; - e_table->sort_info_change_id = 0; e_table->group_info_change_id = 0; e_table->draw_grid = 1; @@ -149,6 +145,7 @@ e_table_setup_header (ETable *e_table) } static void + table_canvas_size_allocate (GtkWidget *widget, GtkAllocation *alloc, ETable *e_table) { @@ -361,9 +358,6 @@ et_grouping_xml_to_sort_info (ETable *table, xmlNode *grouping) e_table_sort_info_sorting_set_nth(table->sort_info, i++, column); } - table->sort_info_change_id = - gtk_signal_connect (GTK_OBJECT (table->sort_info), "sort_info_changed", - GTK_SIGNAL_FUNC (sort_info_changed), table); table->group_info_change_id = gtk_signal_connect (GTK_OBJECT (table->sort_info), "group_info_changed", GTK_SIGNAL_FUNC (sort_info_changed), table); @@ -586,6 +580,12 @@ e_table_save_specification (ETable *e_table, gchar *filename) xmlFreeDoc (doc); } +void +e_table_select_row (ETable *e_table, int row) +{ + +} + static void et_get_arg (GtkObject *o, GtkArg *arg, guint arg_id) { |