Revision: 6665
http://skim-app.svn.sourceforge.net/skim-app/?rev=6665&view=rev
Author: hofman
Date: 2010-07-31 21:25:09 +0000 (Sat, 31 Jul 2010)
Log Message:
-----------
always add/remove main fullscreen window to windows menu
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-07-31 21:05:42 UTC (rev 6664)
+++ trunk/SKMainWindowController.m 2010-07-31 21:25:09 UTC (rev 6665)
@@ -1327,6 +1327,7 @@
[mainWindow orderOut:nil];
[fullScreenWindow setLevel:level];
[fullScreenWindow orderFront:nil];
+ [NSApp addWindowsItem:fullScreenWindow title:[self
windowTitleForDocumentDisplayName:[[self document] displayName]] filename:NO];
[fullScreenWindow release];
}
@@ -1380,6 +1381,7 @@
[mainWindow recalculateKeyViewLoop];
[mainWindow setDelegate:self];
[mainWindow makeKeyWindow];
+ [NSApp removeWindowsItem:fullScreenWindow];
[fullScreenWindow fadeOut];
}
@@ -1444,8 +1446,6 @@
[self applyPDFSettings:fullScreenSetup];
[self fadeInFullScreenView:pdfSplitView inset:[SKSideWindow
requiredMargin]];
-
- [NSApp addWindowsItem:[self window] title:[self
windowTitleForDocumentDisplayName:[[self document] displayName]] filename:NO];
}
[self forceSubwindowsOnTop:YES];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit