Revision: 6644
http://skim-app.svn.sourceforge.net/skim-app/?rev=6644&view=rev
Author: hofman
Date: 2010-07-25 11:36:06 +0000 (Sun, 25 Jul 2010)
Log Message:
-----------
explicitly change windows menu item for fullscreen window as this window does
not have a title
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-07-24 00:40:14 UTC (rev 6643)
+++ trunk/SKMainWindowController.m 2010-07-25 11:36:06 UTC (rev 6644)
@@ -478,6 +478,12 @@
mwcFlags.settingUpWindow = 0;
}
+- (void)synchronizeWindowTitleWithDocumentName {
+ // as the fullscreen window has no title we have to do this manually
+ if ([self interactionMode] == SKFullScreenMode)
+ [NSApp changeWindowsItem:[self window] title:[self
windowTitleForDocumentDisplayName:[[self document] displayName]] filename:NO];
+}
+
- (void)applyLeftSideWidth:(CGFloat)leftSideWidth
rightSideWidth:(CGFloat)rightSideWidth {
if (mwcFlags.usesDrawers == 0) {
[splitView setPosition:leftSideWidth ofDividerAtIndex:0];
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