Revision: 5293
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5293&view=rev
Author:   hofman
Date:     2009-03-31 21:29:00 +0000 (Tue, 31 Mar 2009)

Log Message:
-----------
Initially set the hasWindow flag of the snapshot controller to YES, because the 
window is always shown initially and the delegate method is never called, 
apparently

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

Modified: trunk/SKSnapshotWindowController.m
===================================================================
--- trunk/SKSnapshotWindowController.m  2009-03-31 17:59:01 UTC (rev 5292)
+++ trunk/SKSnapshotWindowController.m  2009-03-31 21:29:00 UTC (rev 5293)
@@ -99,9 +99,7 @@
     [[self window] setLevel:keepOnTop || forceOnTop ? NSFloatingWindowLevel : 
NSNormalWindowLevel];
     [[self window] setHidesOnDeactivate:keepOnTop || forceOnTop];
     [[NSUserDefaultsController sharedUserDefaultsController] addObserver:self 
forKey:SKSnapshotsOnTopKey context:&SKSnaphotWindowDefaultsObservationContext];
-}
-
-- (void)windowDidExpose:(NSNotification *)notification {
+    // the window is initialially exposed. The windowDidExpose notification is 
useless, it has nothing to do with showing the window
     [self setHasWindow:YES];
 }
 


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

------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to