Revision: 7548
http://skim-app.svn.sourceforge.net/skim-app/?rev=7548&view=rev
Author: hofman
Date: 2011-11-29 18:14:35 +0000 (Tue, 29 Nov 2011)
Log Message:
-----------
Call super in viewWillMoveToWindow: and viewDidMoveToWindow
Modified Paths:
--------------
trunk/SKGradientView.m
trunk/SKPDFView.m
Modified: trunk/SKGradientView.m
===================================================================
--- trunk/SKGradientView.m 2011-11-24 10:50:09 UTC (rev 7547)
+++ trunk/SKGradientView.m 2011-11-29 18:14:35 UTC (rev 7548)
@@ -164,6 +164,7 @@
[nc removeObserver:self name:NSWindowDidBecomeKeyNotification
object:window];
[nc removeObserver:self name:NSWindowDidResignKeyNotification
object:window];
}
+ [super viewWillMoveToWindow:newWindow];
}
- (void)viewDidMoveToWindow {
@@ -180,6 +181,7 @@
if (autoTransparent)
[self setEdges:hasBorder ? SKMinXEdgeMask | SKMaxXEdgeMask :
SKNoEdgeMask];
}
+ [super viewDidMoveToWindow];
}
// required in order for redisplay to work properly with the controls
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2011-11-24 10:50:09 UTC (rev 7547)
+++ trunk/SKPDFView.m 2011-11-29 18:14:35 UTC (rev 7548)
@@ -1598,6 +1598,7 @@
- (void)viewWillMoveToWindow:(NSWindow *)newWindow {
if ([self isEditing] && [self commitEditing] == NO)
[self discardEditing];
+ [super viewWillMoveToWindow:newWindow];
}
#pragma mark NSDraggingDestination protocol
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit