From 11790e1f90b457f440b2d2bd36a7a576dc1e427d Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Thu, 25 Jun 2009 23:05:44 +0000 Subject: - Revert r844, making background printing draw from the print accessory view again. Improve by setting background printing to on by default, read on startup. --- Source/SPPrintAccessory.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/SPPrintAccessory.m') diff --git a/Source/SPPrintAccessory.m b/Source/SPPrintAccessory.m index 4128e8ad..93c7ce4e 100644 --- a/Source/SPPrintAccessory.m +++ b/Source/SPPrintAccessory.m @@ -12,6 +12,7 @@ - (void)awakeFromNib { [self setView:printAccessoryView]; + [[WebPreferences standardPreferences] setShouldPrintBackgrounds:[[defaultsController valueForKeyPath:@"values.PrintBackground"] boolValue] ]; [defaultsController addObserver:self forKeyPath:@"values.PrintBackground" options:NSKeyValueObservingOptionNew context:@"PrinterSettingsChanged"]; } -- cgit v1.2.3