X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-compact-mail-header-view.c;h=20f1d802604c82324b80cdc0a6e03e05db7b5acc;hp=2f2b859ed68a87a60cecb39dc9caf0e2646a25b8;hb=eda6aae0985bcef44db4d8c8fef1510a090e9875;hpb=ca9a46b192cf9fe19f1afaf1dde762cd363e90f2 diff --git a/src/widgets/modest-compact-mail-header-view.c b/src/widgets/modest-compact-mail-header-view.c index 2f2b859..20f1d80 100644 --- a/src/widgets/modest-compact-mail-header-view.c +++ b/src/widgets/modest-compact-mail-header-view.c @@ -667,7 +667,12 @@ update_style (ModestCompactMailHeaderView *self) color.green = style_color.green; color.blue = style_color.blue; } else { - pango_color_parse (&color, "grey"); + if (!pango_color_parse (&color, "grey")) { + g_warning ("Failed to parse color grey"); + color.red = 0xc0c0; + color.green = 0xc0c0; + color.blue = 0xc0c0; + } } /* style of from:/to: label */