diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-03-05 07:10:17 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-03-05 07:10:17 +0800 |
commit | b509fbeba61dfcd75e3b43f9d532d20b8adc24cf (patch) | |
tree | 25bb953ef2e0b6b4aaa0cddccc599a64ce92ec20 /widgets/e-table/e-table.c | |
parent | 399bef75b8e83330294f6469889afb5cdb78b2e2 (diff) | |
download | gsoc2013-evolution-b509fbeba61dfcd75e3b43f9d532d20b8adc24cf.tar gsoc2013-evolution-b509fbeba61dfcd75e3b43f9d532d20b8adc24cf.tar.gz gsoc2013-evolution-b509fbeba61dfcd75e3b43f9d532d20b8adc24cf.tar.bz2 gsoc2013-evolution-b509fbeba61dfcd75e3b43f9d532d20b8adc24cf.tar.lz gsoc2013-evolution-b509fbeba61dfcd75e3b43f9d532d20b8adc24cf.tar.xz gsoc2013-evolution-b509fbeba61dfcd75e3b43f9d532d20b8adc24cf.tar.zst gsoc2013-evolution-b509fbeba61dfcd75e3b43f9d532d20b8adc24cf.zip |
Push the proper visual and colormap for ETable to work.
2000-03-04 Christopher James Lahey <clahey@helixcode.com>
* e-table.c: Push the proper visual and colormap for ETable to work.
svn path=/trunk/; revision=2049
Diffstat (limited to 'widgets/e-table/e-table.c')
-rw-r--r-- | widgets/e-table/e-table.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |