Revision: 5108
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5108&view=rev
Author:   hofman
Date:     2009-01-06 17:20:39 +0000 (Tue, 06 Jan 2009)

Log Message:
-----------
add fullscreen window to windows menu

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2009-01-05 21:41:38 UTC (rev 5107)
+++ trunk/SKMainWindowController.m      2009-01-06 17:20:39 UTC (rev 5108)
@@ -2426,6 +2426,7 @@
     // Create the full-screen window if it does not already  exist.
     if (fullScreenWindow == nil) {
         fullScreenWindow = [[SKFullScreenWindow alloc] initWithScreen:screen];
+        [fullScreenWindow setExcludedFromWindowsMenu:NO];
     }
         
     // explicitly set window frame; screen may have moved, or may be nil (in 
which case [fullScreenWindow frame] is wrong, which is weird); the first time 
through this method, [fullScreenWindow screen] is nil
@@ -2477,6 +2478,7 @@
     [fullScreenWindow recalculateKeyViewLoop];
     [mainWindow orderOut:self];    
     [fullScreenWindow setDelegate:self];
+    [NSApp addWindowsItem:fullScreenWindow title:[self 
windowTitleForDocumentDisplayName:[[self document] displayName]] filename:NO];
 }
 
 - (void)saveNormalSetup {


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

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to