[murrine] Fixes text shadow on text which uses <span> tag to color it
- From: Andrea Cimitan <acimitan src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [murrine] Fixes text shadow on text which uses <span> tag to color it
- Date: Thu,  9 Sep 2010 08:56:01 +0000 (UTC)
commit 9cf3c1fd3eb03fb1423738ad3f3fa1b251231e56
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Thu Sep 9 10:55:03 2010 +0200
    Fixes text shadow on text which uses <span> tag to color it
 src/murrine_style.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/murrine_style.c b/src/murrine_style.c
index 9133f23..9ea36c2 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -2155,8 +2155,9 @@ murrine_style_draw_layout (GtkStyle     *style,
 		cairo_t *cr; 
 		cr = murrine_begin_paint (window, area); 
 		cairo_translate (cr, x+xos, y+yos); 
+		pango_cairo_layout_path (cr, layout);
 		murrine_set_color_rgba (cr, &temp, 0.5);
-		pango_cairo_show_layout (cr, layout);
+		cairo_stroke (cr);
 		cairo_destroy (cr);
 
 /*		printf( "draw_layout: %s %s\n", detail, G_OBJECT_TYPE_NAME (widget->parent));*/
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]