From bfccd5b470c3bcc0d23d619e9c0d93f0fdc80cce Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 14 Jun 2002 22:26:43 +0000 Subject: Don't draw or interact with the popup button if a cell isn't editable 2002-06-14 Christopher James Lahey * e-cell-popup.c (ecp_draw, ecp_event): Don't draw or interact with the popup button if a cell isn't editable (based on a patch by JPR.) * e-table-col.c, e-table-col.h: Added the compare_col field to this structure. Added a GtkArg to set it. * e-table-column-specification.c, e-table-column-specification.h: Added the compare_col field here. Made it load properly from xml. * e-table-sorting-utils.c: Sort based on the compare_col in the ETableCol instead of the col_idx. * e-table-utils.c (et_col_spec_to_col): Set the compare_col field in the ETableCol properly. * e-table.c, e-table.h: Removed the drag_get_data_row and drag_get_data_col fields since they're not used any longer. (e_table_construct): If specification loading fails, return a NULL ETable instead of just ignoring it. (e_table_drag_highlight): Only destroy table->drop_highlight if it exists. svn path=/trunk/; revision=17190 --- widgets/table/e-table.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'widgets/table/e-table.h') diff --git a/widgets/table/e-table.h b/widgets/table/e-table.h index 7f1ec00e75..f67e0078b1 100644 --- a/widgets/table/e-table.h +++ b/widgets/table/e-table.h @@ -140,9 +140,6 @@ typedef struct { ECursorMode cursor_mode; - int drag_get_data_row; - int drag_get_data_col; - int drop_row; int drop_col; GnomeCanvasItem *drop_highlight; -- cgit