adium 3500:c334205de2c4: Patch from hortont424 to allow a minimu...

commits at adium.im commits at adium.im
Tue Nov 9 17:42:10 UTC 2010


details:	http://hg.adium.im/adium/rev/c334205de2c4
revision:	3500:c334205de2c4
author:		Frank Dowsett <wixardy at adium.im>
date:		Tue Nov 09 01:24:07 2010 -0500

Patch from hortont424 to allow a minimum messagestyle font size of <9pt. Fixes #49

diffs (11 lines):

diff -r 7a8e740409e0 -r c334205de2c4 Plugins/WebKit Message View/AIWebKitMessageViewController.m
--- a/Plugins/WebKit Message View/AIWebKitMessageViewController.m	Mon Nov 01 22:22:12 2010 -0500
+++ b/Plugins/WebKit Message View/AIWebKitMessageViewController.m	Tue Nov 09 01:24:07 2010 -0500
@@ -454,6 +454,7 @@
 	NSNumber	*minSize = [adium.preferenceController preferenceForKey:KEY_WEBKIT_MIN_FONT_SIZE
 																 group:preferenceGroup];
 	[[webView preferences] setMinimumFontSize:(minSize ? [minSize intValue] : 1)];
+	[[webView preferences] setMinimumLogicalFontSize:(minSize ? [minSize intValue] : 1)];
 
 	//Update our icons before doing any loading
 	[self sourceOrDestinationChanged:nil];




More information about the commits mailing list