diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-04-10 11:22:33 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-04-10 11:22:33 +0800 |
commit | f37767da8e80f84a5ecf98c17259c24c9a875ebc (patch) | |
tree | 0dc6fcf7ac16b158cdc59a22b2f453a91efbb608 /widgets/table/e-table-header-item.c | |
parent | bdb627f2439cdff4c1acd0ed05bcd16d3b45c139 (diff) | |
download | gsoc2013-evolution-f37767da8e80f84a5ecf98c17259c24c9a875ebc.tar.gz gsoc2013-evolution-f37767da8e80f84a5ecf98c17259c24c9a875ebc.tar.zst gsoc2013-evolution-f37767da8e80f84a5ecf98c17259c24c9a875ebc.zip |
Changed resizeable to resizable in ETableCol for consistency.
2001-04-09 Christopher James Lahey <clahey@ximian.com>
* 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
Diffstat (limited to 'widgets/table/e-table-header-item.c')
-rw-r--r-- | widgets/table/e-table-header-item.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; |