aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table')
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-table.c6
2 files changed, 10 insertions, 0 deletions
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,5 +1,9 @@
2000-03-04 Christopher James Lahey <clahey@helixcode.com>
+ * e-table.c: Push the proper visual and colormap for ETable to work.
+
+2000-03-04 Christopher James Lahey <clahey@helixcode.com>
+
* TODO: Touched this up a bit.
* e-table-group.c, e-table-group-leaf.c: Check for NULL before
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