From 3012f7b1f28abda4cb15c50d061af165889bc08b Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 9 Oct 2000 12:24:54 +0000 Subject: Removed the assertion that there must be at least 1 column. No way to 2000-10-06 Not Zed * e-table-item.c (eti_header_structure_changed): Removed the assertion that there must be at least 1 column. No way to remove all columns otherwise (which the header allows). * e-table.c (et_xml_config_header): Reconfigure header based on xml nodes for header. (et_real_set_specification): Just configure the header only, dont try to recreate everything. 2000-10-05 Not Zed * e-table-scrolled.c (e_table_scrolled_set_specification): Set the spec on a scrolled etable. (e_table_scrolled_load_specification): Likewise for load. * e-table.c (et_real_set_specification): Allow you to set the specification after the widget was created. (et_real_construct): Changed to use et_real_set_specification to set the spec. (e_table_load_specification): New frunction, load the speficication from a specific file. (e_table_set_specification): NEw function to set the specification from a string. svn path=/trunk/; revision=5795 --- widgets/table/e-table-scrolled.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/table/e-table-scrolled.h') diff --git a/widgets/table/e-table-scrolled.h b/widgets/table/e-table-scrolled.h index 0dd9168803..8543f59d2f 100644 --- a/widgets/table/e-table-scrolled.h +++ b/widgets/table/e-table-scrolled.h @@ -48,6 +48,8 @@ GtkWidget *e_table_scrolled_new_from_spec_file (ETableHeader *full_he gchar *e_table_scrolled_get_specification (ETableScrolled *e_table_scrolled); void e_table_scrolled_save_specification (ETableScrolled *e_table_scrolled, gchar *filename); +int e_table_scrolled_set_specification (ETableScrolled *e_table_scrolled, const char *spec); +int e_table_scrolled_load_specification (ETableScrolled *e_table_scrolled, gchar *filename); void e_table_scrolled_set_cursor_row (ETableScrolled *e_table_scrolled, int row); -- cgit v1.2.3