aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPrintAccessory.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-06-25 23:05:44 +0000
committerrowanbeentje <rowan@beent.je>2009-06-25 23:05:44 +0000
commit11790e1f90b457f440b2d2bd36a7a576dc1e427d (patch)
tree2ccdbd20bfbc246e0de31ccf9c354a763c6645ae /Source/SPPrintAccessory.m
parent4f7a6885813b7e8bd2e09c00567fd88a20c66af7 (diff)
downloadsequelpro-11790e1f90b457f440b2d2bd36a7a576dc1e427d.tar.gz
sequelpro-11790e1f90b457f440b2d2bd36a7a576dc1e427d.tar.bz2
sequelpro-11790e1f90b457f440b2d2bd36a7a576dc1e427d.zip
- Revert r844, making background printing draw from the print accessory view again. Improve by setting background printing to on by default, read on startup.
Diffstat (limited to 'Source/SPPrintAccessory.m')
-rw-r--r--Source/SPPrintAccessory.m1
1 files changed, 1 insertions, 0 deletions
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"];
}