[Commits] fancy_viewer.c 1.1.2.10 1.1.2.11

colin at claws-mail.org colin at claws-mail.org
Fri Mar 15 16:29:07 CET 2013


Update of /home/claws-mail/claws/src/plugins/fancy
In directory srv:/tmp/cvs-serv31475/src/plugins/fancy

Modified Files:
      Tag: gtk2
	fancy_viewer.c 
Log Message:
2013-03-15 [colin]	3.9.0cvs128

	* src/plugins/fancy/fancy_viewer.c
		Fix default fonts on Windows

Index: fancy_viewer.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/fancy/Attic/fancy_viewer.c,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -u -d -r1.1.2.10 -r1.1.2.11
--- fancy_viewer.c	15 Mar 2013 09:33:27 -0000	1.1.2.10
+++ fancy_viewer.c	15 Mar 2013 15:29:05 -0000	1.1.2.11
@@ -85,15 +85,20 @@
 
 static void fancy_apply_prefs(FancyViewer *viewer)
 {
-	g_object_set(viewer->settings, "auto-load-images",
-		viewer->override_prefs_images, NULL);
-	g_object_set(viewer->settings, "enable-scripts",
-		viewer->override_prefs_scripts,	NULL);
-	g_object_set(viewer->settings, "enable-plugins",
-		viewer->override_prefs_plugins,	NULL);
-	g_object_set(viewer->settings, "enable-java-applet",
-		viewer->override_prefs_java, NULL);
-
+	g_object_set(viewer->settings,
+		"auto-load-images", viewer->override_prefs_images,
+		"enable-scripts", viewer->override_prefs_scripts,
+		"enable-plugins", viewer->override_prefs_plugins,
+		"enable-java-applet", viewer->override_prefs_java,
+#ifdef G_OS_WIN32
+		"default-font-family", "Arial",
+		"cursive-font-family", "Comic Sans MS",
+		"fantasy-font-family", "Comic Sans MS",
+		"monospace-font-family", "Courier New",
+		"sans-serif-font-family", "Arial",
+		"serif-font-family", "Times New Roman",
+#endif
+		NULL); 
 	webkit_web_view_set_settings(viewer->view, viewer->settings);
 }
 



More information about the Commits mailing list