diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-11-18 04:11:59 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-11-18 04:11:59 +0800 |
commit | 05b8df9868e2828eadaefa1a733999faf0b8e08b (patch) | |
tree | 29337f1b0b0499a56145c8bc827d93332cddc659 | |
parent | 1a04fd272634d22277979c705ae854bea580905a (diff) | |
download | gsoc2013-evolution-05b8df9868e2828eadaefa1a733999faf0b8e08b.tar.gz gsoc2013-evolution-05b8df9868e2828eadaefa1a733999faf0b8e08b.tar.zst gsoc2013-evolution-05b8df9868e2828eadaefa1a733999faf0b8e08b.zip |
** Fixes bug #560882
2008-10-17 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #560882
* widgets/table/e-table-defines.h:
* widgets/table/e-table-header-utils.c (e_table_header_draw_button):
Left-align header labels instead of centering them, and adjust
the header padding so they look purdy.
svn path=/trunk/; revision=36792
-rw-r--r-- | widgets/table/ChangeLog | 9 | ||||
-rw-r--r-- | widgets/table/e-table-defines.h | 2 | ||||
-rw-r--r-- | widgets/table/e-table-header-utils.c | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index 320c4a9db2..dd5598306f 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,3 +1,12 @@ +2008-10-17 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes bug #560882 + + * e-table-defines.h: + * e-table-header-utils.c (e_table_header_draw_button): + Left-align header labels instead of centering them, and adjust + the header padding so they look purdy. + 2008-10-17 Sankar P <psankar@novell.com> License Changes diff --git a/widgets/table/e-table-defines.h b/widgets/table/e-table-defines.h index f401d5e418..d11ac3eb86 100644 --- a/widgets/table/e-table-defines.h +++ b/widgets/table/e-table-defines.h @@ -33,7 +33,7 @@ extern "C" { #define GROUP_INDENT (BUTTON_HEIGHT + (BUTTON_PADDING * 2)) /* Padding around the contents of a header button */ -#define HEADER_PADDING 1 +#define HEADER_PADDING 3 #define MIN_ARROW_SIZE 10 diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c index 6f613433ea..afcc0720e1 100644 --- a/widgets/table/e-table-header-utils.c +++ b/widgets/table/e-table-header-utils.c @@ -463,7 +463,7 @@ e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol, } else { e_table_draw_elided_string (drawable, gc, widget, inner_x, inner_y, - layout, ecol->text, inner_width, TRUE); + layout, ecol->text, inner_width, FALSE); } g_object_unref (layout); |