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 | |
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')
-rw-r--r-- | widgets/e-table/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/e-table/e-table.c | 6 |
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 |