Revision: 6619
http://skim-app.svn.sourceforge.net/skim-app/?rev=6619&view=rev
Author: hofman
Date: 2010-07-15 18:19:47 +0000 (Thu, 15 Jul 2010)
Log Message:
-----------
invert check
Modified Paths:
--------------
trunk/SKMainWindowController.m
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-07-15 18:18:31 UTC (rev 6618)
+++ trunk/SKMainWindowController.m 2010-07-15 18:19:47 UTC (rev 6619)
@@ -1392,7 +1392,7 @@
[pdfView setBackgroundColor:[NSColor clearColor]];
[fullScreenWindow setBackgroundColor:[NSColor blackColor]];
- [fullScreenWindow setLevel:[[NSUserDefaults standardUserDefaults]
boolForKey:SKUseNormalLevelForPresentationKey] ? NSPopUpMenuWindowLevel :
NSNormalWindowLevel];
+ [fullScreenWindow setLevel:[[NSUserDefaults standardUserDefaults]
boolForKey:SKUseNormalLevelForPresentationKey] == NO ? NSPopUpMenuWindowLevel :
NSNormalWindowLevel];
SKPDFView *notesPdfView = [[self presentationNotesDocument] pdfView];
if (notesPdfView)
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2010-07-15 18:18:31 UTC (rev 6618)
+++ trunk/SKMainWindowController_UI.m 2010-07-15 18:19:47 UTC (rev 6619)
@@ -1534,13 +1534,13 @@
}
- (void)handleApplicationDidResignActiveNotification:(NSNotification
*)notification {
- if ([self isPresentation] && [[NSUserDefaults standardUserDefaults]
boolForKey:SKUseNormalLevelForPresentationKey]) {
+ if ([self isPresentation] && [[NSUserDefaults standardUserDefaults]
boolForKey:SKUseNormalLevelForPresentationKey] == NO) {
[fullScreenWindow setLevel:NSNormalWindowLevel];
}
}
- (void)handleApplicationWillBecomeActiveNotification:(NSNotification
*)notification {
- if ([self isPresentation] && [[NSUserDefaults standardUserDefaults]
boolForKey:SKUseNormalLevelForPresentationKey]) {
+ if ([self isPresentation] && [[NSUserDefaults standardUserDefaults]
boolForKey:SKUseNormalLevelForPresentationKey] == NO) {
[fullScreenWindow setLevel:NSPopUpMenuWindowLevel];
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit