diff options
author | waker <wakeroid@gmail.com> | 2011-03-28 22:00:14 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-28 22:00:14 +0200 |
commit | 28c0121f51dce3dbf22e206ca7dd2d29f28f21d7 (patch) | |
tree | 67f36025bd877b9f3023de0a39220cd941e55b1a /plugins | |
parent | 21a4bda93772f447598594967d346f8be9371458 (diff) |
fixed weird rendering or right-to-left text in group titles
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gtkui/mainplaylist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/mainplaylist.c b/plugins/gtkui/mainplaylist.c index 9342f257..9a774eb4 100644 --- a/plugins/gtkui/mainplaylist.c +++ b/plugins/gtkui/mainplaylist.c @@ -173,8 +173,8 @@ void main_draw_group_title (DdbListview *listview, GdkDrawable *drawable, DdbLis draw_set_fg_color (rgb); } int ew, eh; - draw_text (x + 5, y + height/2 - draw_get_font_size ()/2 - 2, width-10, 0, str); draw_get_text_extents (str, -1, &ew, &eh); + draw_text (x + 5, y + height/2 - draw_get_font_size ()/2 - 2, ew+5, 0, str); draw_line (x + 5 + ew + 3, y+height/2, x + width, y+height/2); } } |