aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-06 16:34:34 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-06 16:34:34 +0800
commitffad0d32ceef317c2995378f654e8214629948f0 (patch)
tree3fff4d5ee11e0c662dad2646e47dbb3d531caf19 /widgets/table
parentd08ab36bfb63bc156786a8ce998d610b98459837 (diff)
downloadgsoc2013-evolution-ffad0d32ceef317c2995378f654e8214629948f0.tar.gz
gsoc2013-evolution-ffad0d32ceef317c2995378f654e8214629948f0.tar.zst
gsoc2013-evolution-ffad0d32ceef317c2995378f654e8214629948f0.zip
Use the style's font if lucidasans-10 is not found.
2000-03-06 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c: Use the style's font if lucidasans-10 is not found. svn path=/trunk/; revision=2073
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-group-container.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c
index f9ecaf4377..4f11c75f41 100644
--- a/widgets/table/e-table-group-container.c
+++ b/widgets/table/e-table-group-container.c
@@ -213,6 +213,11 @@ e_table_group_container_construct (GnomeCanvasGroup *parent, ETableGroupContaine
etgc->ascending = ascending;
etgc->font = gdk_font_load ("lucidasans-10");
+ if (!etgc->font){
+ etgc->font = GTK_WIDGET(GNOME_CANVAS_ITEM(etgc)->canvas)->style->font;
+
+ gdk_font_ref (etgc->font);
+ }
etgc->open = TRUE;
#if 0
etgc->transparent = transparent;