aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-item.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>2000-03-27 10:45:04 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-03-27 10:45:04 +0800
commit09c05cbc769e87dd6715566d57ab153d0664c34c (patch)
treed9f46b14481912e5f5f4ef4b4bd4517319c2a393 /widgets/table/e-table-header-item.c
parentbfdba248a1719c6eef0b0c69bd0cde94940060b1 (diff)
downloadgsoc2013-evolution-09c05cbc769e87dd6715566d57ab153d0664c34c.tar
gsoc2013-evolution-09c05cbc769e87dd6715566d57ab153d0664c34c.tar.gz
gsoc2013-evolution-09c05cbc769e87dd6715566d57ab153d0664c34c.tar.bz2
gsoc2013-evolution-09c05cbc769e87dd6715566d57ab153d0664c34c.tar.lz
gsoc2013-evolution-09c05cbc769e87dd6715566d57ab153d0664c34c.tar.xz
gsoc2013-evolution-09c05cbc769e87dd6715566d57ab153d0664c34c.tar.zst
gsoc2013-evolution-09c05cbc769e87dd6715566d57ab153d0664c34c.zip
Remove warning from here.
2000-03-26 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_realize): Remove warning from here. * test-table.c (table_browser_test): Use ECanvas, not GnomeCanvas, to support reflow. * test-cols.c (multi_cols_test): ditto * e-table.c (e_table_setup_header): ditto * e-table-header-item.c (ethi_font_load): Replace font. (ethi_realize): ditto. svn path=/trunk/; revision=2172
Diffstat (limited to 'widgets/table/e-table-header-item.c')
-rw-r--r--widgets/table/e-table-header-item.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index b079debb1a..5faa0d7da8 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -118,7 +118,7 @@ ethi_font_load (ETableHeaderItem *ethi, char *font)
ethi->font = gdk_fontset_load (font);
if (ethi->font == NULL)
- ethi->font = gdk_font_load ("fixed");
+ ethi->font = gdk_font_load ("-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1");
ethi->height = ethi->font->ascent + ethi->font->descent + PADDING;
if ( ethi->height < MIN_ARROW_SIZE + 4 + PADDING )
@@ -469,10 +469,8 @@ ethi_realize (GnomeCanvasItem *item)
gnome_canvas_get_color (item->canvas, "black", &c);
gdk_gc_set_foreground (ethi->gc, &c);
- if (!ethi->font){
- g_warning ("Font had not been set for this ETableHeader");
- ethi_font_load (ethi, "fixed");
- }
+ if (!ethi->font)
+ ethi_font_load (ethi, "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1");
/*
* Now, configure DnD