From f37767da8e80f84a5ecf98c17259c24c9a875ebc Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 10 Apr 2001 03:22:33 +0000 Subject: Changed resizeable to resizable in ETableCol for consistency. 2001-04-09 Christopher James Lahey * e-table-col.c, e-table-col.h, e-table-header-item.c, e-table-header.c, e-table-item.c: Changed resizeable to resizable in ETableCol for consistency. * e-tree-selection-model.c (etsm_row_of_node): Return -1 here if the path isn't found. (etsm_sorted_node_changed): If cursor_row is -1, make cursor_col -1 as well. svn path=/trunk/; revision=9211 --- widgets/table/e-table-header-item.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'widgets/table/e-table-header-item.c') diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 2a7c36facf..12f6c1f9db 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -889,7 +889,7 @@ set_cursor (ETableHeaderItem *ethi, int pos) { int col; GtkWidget *canvas = GTK_WIDGET (GNOME_CANVAS_ITEM (ethi)->canvas); - gboolean resizeable = FALSE; + gboolean resizable = FALSE; /* We might be invoked before we are realized */ if (!canvas->window) @@ -900,7 +900,7 @@ set_cursor (ETableHeaderItem *ethi, int pos) ETableCol *ecol = e_table_header_get_column (ethi->eth, col); /* Last column is not resizable */ - if (ecol->resizeable && col != last_col) { + if (ecol->resizable && col != last_col) { int c = col + 1; /* Column is not resizable if all columns after it @@ -909,15 +909,15 @@ set_cursor (ETableHeaderItem *ethi, int pos) ETableCol *ecol2; ecol2 = e_table_header_get_column (ethi->eth, c); - if (ecol2->resizeable) { - resizeable = TRUE; + if (ecol2->resizable) { + resizable = TRUE; break; } } } } - if (resizeable) + if (resizable) e_cursor_set (canvas->window, E_CURSOR_SIZE_X); else gdk_window_set_cursor (canvas->window, NULL); @@ -1429,7 +1429,7 @@ ethi_event (GnomeCanvasItem *item, GdkEvent *e) */ ecol = e_table_header_get_column (ethi->eth, col); - if (!ecol->resizeable) + if (!ecol->resizable) break; ethi->resize_col = col; ethi->resize_start_pos = start - ecol->width; -- cgit v1.2.3