[Commits] [SCM] claws branch, master, updated. 3.9.3-235-gb94a982
colin at claws-mail.org
colin at claws-mail.org
Mon May 26 10:53:55 CEST 2014
The branch master of project "claws" (Claws Mail) has been updated
via b94a982c5ca5f5a89921f009a4e9f6a3257bce14 (commit)
from 77ea0391184782d7bd76e9ccaf85b6b8a751d0da (commit)
- Log -----------------------------------------------------------------
commit b94a982c5ca5f5a89921f009a4e9f6a3257bce14
Author: Colin Leroy <colin at colino.net>
Date: Mon May 26 10:54:02 2014 +0200
Fix bold font not being derived from normal font, but from system font
diff --git a/src/folderview.c b/src/folderview.c
index 5e55e91..4f0be44 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -687,6 +687,12 @@ void folderview_init(FolderView *folderview)
gtkut_convert_int_to_gdk_color(prefs_common.color_new, &gdk_color);
bold_style = gtk_style_copy(gtk_widget_get_style(ctree));
if (prefs_common.derive_from_normal_font || !BOLD_FONT) {
+ PangoFontDescription *font_desc;
+ font_desc = pango_font_description_from_string(NORMAL_FONT);
+ if (font_desc) {
+ pango_font_description_free(bold_style->font_desc);
+ bold_style->font_desc = font_desc;
+ }
pango_font_description_set_weight
(bold_style->font_desc, PANGO_WEIGHT_BOLD);
} else {
-----------------------------------------------------------------------
Summary of changes:
src/folderview.c | 6 ++++++
1 file changed, 6 insertions(+)
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list