[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-93-ge086a2d95

paul at claws-mail.org paul at claws-mail.org
Wed Apr 28 18:10:50 CEST 2021


The branch, gtk3 has been updated
       via  e086a2d952282ac7c618b4df50ffce9c7e43ff73 (commit)
      from  874fd93c6990f7a0c58e8180ebdfa6945ece8126 (commit)

Summary of changes:
 src/plugins/fancy/fancy_viewer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit e086a2d952282ac7c618b4df50ffce9c7e43ff73
Author: paul <paul at claws-mail.org>
Date:   Wed Apr 28 17:09:03 2021 +0100

    fix bug 4471, 'Default font size for fancy needs to be converted to pixels'
    
    patch by Steve Randall

diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
index 396a0fd38..9f32868d7 100644
--- a/src/plugins/fancy/fancy_viewer.c
+++ b/src/plugins/fancy/fancy_viewer.c
@@ -101,8 +101,8 @@ static void fancy_apply_prefs(FancyViewer *viewer)
 
 		if (params_len > 0) {
 			gint msg_font_size = g_ascii_strtoll(msg_font_params[params_len - 1], NULL, 10);
-			g_object_set(viewer->settings,
-				"default-font-size", msg_font_size, NULL);
+			g_object_set(viewer->settings, "default-font-size",
+				     webkit_settings_font_size_to_pixels(msg_font_size), NULL);
 		}
 		g_strfreev(msg_font_params);
 	}

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list