diff options
author | Milan Crha <mcrha@redhat.com> | 2009-07-09 19:32:43 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-07-09 19:32:43 +0800 |
commit | 4b312c843d99f3bf61da8f4f8e8b0b8f90edf9f2 (patch) | |
tree | 574ceb1e145a0a8b76508e2d39685ab2d675e3f9 /widgets/misc | |
parent | ded09ddf48c5c9ecda22314247b42ed7b224595f (diff) | |
download | gsoc2013-evolution-4b312c843d99f3bf61da8f4f8e8b0b8f90edf9f2.tar.gz gsoc2013-evolution-4b312c843d99f3bf61da8f4f8e8b0b8f90edf9f2.tar.zst gsoc2013-evolution-4b312c843d99f3bf61da8f4f8e8b0b8f90edf9f2.zip |
Bug #245723 - Show days with transparent events in italic
Also reset the font style back to normal when done with drawing.
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-calendar-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c index 5f4b828783..9c548947d6 100644 --- a/widgets/misc/e-calendar-item.c +++ b/widgets/misc/e-calendar-item.c @@ -1709,8 +1709,9 @@ e_calendar_item_draw_day_numbers (ECalendarItem *calitem, break; } - /* Reset pango weight */ + /* Reset pango weight and style */ pango_font_description_set_weight (font_desc, PANGO_WEIGHT_NORMAL); + pango_font_description_set_style (font_desc, PANGO_STYLE_NORMAL); /* Reset the foreground color. */ gdk_gc_set_foreground (fg_gc, &style->fg[GTK_STATE_NORMAL]); |