diff options
Diffstat (limited to 'widgets/e-table/e-table-header-item.c')
-rw-r--r-- | widgets/e-table/e-table-header-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/e-table/e-table-header-item.c b/widgets/e-table/e-table-header-item.c index 378bdf4447..5368f10602 100644 --- a/widgets/e-table/e-table-header-item.c +++ b/widgets/e-table/e-table-header-item.c @@ -213,7 +213,7 @@ draw_button (ETableHeaderItem *ethi, ETableCol *col, gdk_gc_set_clip_rectangle (ethi->gc, &clip); /* Center the thing */ - xtra = (clip.width - gdk_string_measure (ethi->font, col->id))/2; + xtra = (clip.width - gdk_string_measure (ethi->font, col->text))/2; if (xtra < 0) xtra = 0; @@ -224,7 +224,7 @@ draw_button (ETableHeaderItem *ethi, ETableCol *col, gdk_draw_text ( drawable, ethi->font, ethi->gc, x, y + ethi->height - PADDING, - col->id, strlen (col->id)); + col->text, strlen (col->text)); } static void |