diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-03-06 16:34:34 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-03-06 16:34:34 +0800 |
commit | ffad0d32ceef317c2995378f654e8214629948f0 (patch) | |
tree | 3fff4d5ee11e0c662dad2646e47dbb3d531caf19 /widgets/e-table | |
parent | d08ab36bfb63bc156786a8ce998d610b98459837 (diff) | |
download | gsoc2013-evolution-ffad0d32ceef317c2995378f654e8214629948f0.tar gsoc2013-evolution-ffad0d32ceef317c2995378f654e8214629948f0.tar.gz gsoc2013-evolution-ffad0d32ceef317c2995378f654e8214629948f0.tar.bz2 gsoc2013-evolution-ffad0d32ceef317c2995378f654e8214629948f0.tar.lz gsoc2013-evolution-ffad0d32ceef317c2995378f654e8214629948f0.tar.xz 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/e-table')
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table-group-container.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index c4c99971e9..5dad172bcb 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,5 +1,10 @@ 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. + +2000-03-06 Christopher James Lahey <clahey@helixcode.com> + * e-table-header-item.c, e-table-header-item.h: Made it so that columns would be properly indented. diff --git a/widgets/e-table/e-table-group-container.c b/widgets/e-table/e-table-group-container.c index f9ecaf4377..4f11c75f41 100644 --- a/widgets/e-table/e-table-group-container.c +++ b/widgets/e-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; |