From b509fbeba61dfcd75e3b43f9d532d20b8adc24cf Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 4 Mar 2000 23:10:17 +0000 Subject: Push the proper visual and colormap for ETable to work. 2000-03-04 Christopher James Lahey * e-table.c: Push the proper visual and colormap for ETable to work. svn path=/trunk/; revision=2049 --- widgets/e-table/ChangeLog | 4 ++++ widgets/e-table/e-table.c | 6 ++++++ 2 files changed, 10 insertions(+) (limited to 'widgets/e-table') diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index 7ace7d30da..2271e568a5 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,7 @@ +2000-03-04 Christopher James Lahey + + * e-table.c: Push the proper visual and colormap for ETable to work. + 2000-03-04 Christopher James Lahey * TODO: Touched this up a bit. diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c index 841c52fb45..1cfae378e3 100644 --- a/widgets/e-table/e-table.c +++ b/widgets/e-table/e-table.c @@ -690,11 +690,17 @@ et_real_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm, xmlColumns = e_xml_get_child_by_name(xmlRoot, "columns-shown"); xmlGrouping = e_xml_get_child_by_name(xmlRoot, "grouping"); + gtk_widget_push_visual (gdk_rgb_get_visual ()); + gtk_widget_push_colormap (gdk_rgb_get_cmap ()); + e_table->header = e_table_make_header (e_table, full_header, xmlColumns); e_table_setup_header (e_table); e_table_setup_table (e_table, full_header, e_table->header, etm, xmlGrouping); e_table_fill_table (e_table, etm); + + gtk_widget_pop_colormap (); + gtk_widget_pop_visual (); } void -- cgit