aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
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
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')
-rw-r--r--widgets/e-table/ChangeLog5
-rw-r--r--widgets/e-table/e-table-group-container.c5
-rw-r--r--widgets/table/e-table-group-container.c5
3 files changed, 15 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;
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;