diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table-group-container.c | 5 | ||||
-rw-r--r-- | widgets/table/e-table-group-container.c | 5 |
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; |