Revision: 18074
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18074&view=rev
Author: hofman
Date: 2011-08-20 10:57:53 +0000 (Sat, 20 Aug 2011)
Log Message:
-----------
enable Lion fullscreen in main window
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2011-08-20 10:24:18 UTC (rev 18073)
+++ trunk/bibdesk/BibDocument.m 2011-08-20 10:57:53 UTC (rev 18074)
@@ -454,6 +454,9 @@
[aController setWindowFrameAutosaveNameOrCascade:@"Main Window Frame
Autosave" setFrame:frameRect];
+ if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6)
+ [documentWindow setCollectionBehavior:[documentWindow
collectionBehavior] | (1 << 7)]; // NSWindowCollectionBehaviorFullScreenPrimary
= 1 << 7
+
[documentWindow makeFirstResponder:tableView];
// set autosave names first
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit