Revision: 7290
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7290&view=rev
Author:   hofman
Date:     2011-06-19 09:51:24 +0000 (Sun, 19 Jun 2011)

Log Message:
-----------
always register gradient view as notification observer

Modified Paths:
--------------
    trunk/SKGradientView.m

Modified: trunk/SKGradientView.m
===================================================================
--- trunk/SKGradientView.m      2011-06-18 17:36:17 UTC (rev 7289)
+++ trunk/SKGradientView.m      2011-06-19 09:51:24 UTC (rev 7290)
@@ -157,7 +157,7 @@
 
 - (void)viewWillMoveToWindow:(NSWindow *)newWindow {
     NSWindow *window = [self window];
-    if (window && [window styleMask] != NSBorderlessWindowMask) {
+    if (window) {
         NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
         [nc removeObserver:self name:NSWindowDidBecomeMainNotification 
object:window];
         [nc removeObserver:self name:NSWindowDidResignMainNotification 
object:window];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to