aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-05 07:10:17 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-05 07:10:17 +0800
commitb509fbeba61dfcd75e3b43f9d532d20b8adc24cf (patch)
tree25bb953ef2e0b6b4aaa0cddccc599a64ce92ec20 /widgets
parent399bef75b8e83330294f6469889afb5cdb78b2e2 (diff)
downloadgsoc2013-evolution-b509fbeba61dfcd75e3b43f9d532d20b8adc24cf.tar.gz
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')
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-table.c6
-rw-r--r--widgets/table/e-table.c6
3 files changed, 16 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
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 841c52fb45..1cfae378e3 100644
--- a/widgets/table/e-table.c
+++ b/widgets/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
href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/dns?h=gnome-3.28&id=9e9184a77c21253e3622978259826152d2f3af63'>Remove wrong build dependency on m4bapt2018-01-151-2/+0 * Update dns/public_suffix_list to 0.0.0.20180113sunpoet2018-01-146-9/+9 * Add a TUNING_LARGE option.mat2018-01-128-8/+60 * - Convert to option helper install target (add OPTIONS_DEFINE=DOCSdanfe2018-01-121-3/+5 * Do not abuse INSTALL_MAN when installing documentation, examples, anddanfe2018-01-111-1/+1 * Remove support for variables that have been deprecated for a while.mat2018-01-091-2/+2 * Fix altlog_proglist warning when it contains more than the named service.mat2018-01-089-9/+9 * Update to latest commit.mat2018-01-082-5/+5 * dns/drool: update to version 1.0.1swills2018-01-043-5/+5 * Update devel/json-c to 0.13sunpoet2018-01-034-5/+5 * Update to latest commit.mat2018-01-022-5/+5 * Remove expired ports:rene2018-01-017-325/+0 * Restore trailing slash.krion2017-12-301-1/+1 * Fix WWW: and add HTTPS.krion2017-12-301-1/+1 * dns/py-dns-lexicon: Update from 2.1.12 to 2.1.16joneum2017-12-302-4/+4 * Use upstream naming and utilize https for WWW: line.krion2017-12-301-2/+2 * Use upstream naming and utilize https for WWW: line.krion2017-12-301-2/+2 * Simplify some USES=pythonantoine2017-12-292-2/+2 * - Update to 1.3.0zi2017-12-292-5/+4 * Update to 1.7.1sunpoet2017-12-282-4/+4 * Update to latest commit.mat2017-12-272-5/+5 * Add missing USES=libtool.tijl2017-12-261-1/+1 * Convert to USES=autoreconf.tijl2017-12-241-2/+1 * dns/dnscrypt-proxy: Replace 'cisco' (OpenDNS) resolver by 'random'dbaio2017-12-236-43/+60 * Switch from swig 2.0 to swig 3.0bapt2017-12-211-1/+2 * Update to 1.20171219sunpoet2017-12-202-4/+4 * Update to 1.7.0sunpoet2017-12-202-4/+4 * Add new port dns/powerdns-recursor40krion2017-12-209-0/+155 * Update to latest commit.mat2017-12-193-12/+12 * Update to 9.12.0rc1.mat2017-12-194-16/+16 * Update to 1.14sunpoet2017-12-172-4/+4 * Mark IGNORE on FreeBSD < 10.4 due lack of __cxa_thread_atexit()krion2017-12-151-1/+7 * Update KDE Frameworks to 5.41tcberner2017-12-151-3/+3 * Add dns/dynip.adamw2017-12-156-0/+78 * dns/packetq: require C++11 toolchain (on powerpc*, mips*, sparc*)jbeich2017-12-121-1/+1 * Update devel/protobuf to 3.5.0sunpoet2017-12-124-2/+4 * Update to latest commit.mat2017-12-113-9/+9 * Update to 4.1.0krion2017-12-113-9/+9 * dns/nsd: Update to 4.1.19swills2017-12-112-4/+4 * Mark more ports broken that fail on both armv6 and armv7.linimon2017-12-091-0/+2 * - Add LICENSEamdmi32017-12-084-11/+45 * Update to latest commit.mat2017-12-044-13/+13 * Update to 4.1.0krion2017-12-045-71/+20 * Update to 4.0.7krion2017-12-043-28/+14 * Update to 1.6.0sunpoet2017-12-043-4/+6 * dns/nsd: update 4.1.17 -> 4.1.18pi2017-12-022-5/+7 * Convert Python ports to FLAVORS.mat2017-11-3019-50/+35 * - Fix LICENSEamdmi32017-11-302-6/+7 * For ports that are marked BROKEN on armv6, and also fail to build onlinimon2017-11-302-0/+2 * dns/py-dns-lexicon: Update to 2.1.12dbaio2017-11-302-4/+4 * dns/cli53: Update to 0.8.12joneum2017-11-272-4/+4 * Update to latest commit.mat2017-11-273-11/+11 * - Add libmaxminddb for geoip2 supportzi2017-11-241-5/+12 * Add an extra check to make sure syslogd is correctly configured whenmat2017-11-2310-7/+52 * - Simplify build and installationamdmi32017-11-232-15/+9 * Update to 2.0.14.mat2017-11-202-4/+5 * Update to latest commit.mat2017-11-202-5/+5 * dns/mDNSResponder_nss: Update to 878.1.1dbaio2017-11-182-4/+4 * - Add OPTION for stubbyzi2017-11-172-2/+15 * Update KDE Frameworks to 5.40.0tcberner2017-11-162-5/+4 * Update to 1.0.8sunpoet2017-11-152-4/+4 * Update to latest commit.mat2017-11-134-16/+16 * dns/py-dns-lexicon: update to 2.1.11swills2017-11-132-4/+4 * Update to 0.0.0.20171029sunpoet2017-11-136-8/+9 * - Update to 1.2.1zi2017-11-122-6/+6 * Add version requirement for libidn2sunpoet2017-11-121-0/+1