Revision: 4420
http://skim-app.svn.sourceforge.net/skim-app/?rev=4420&view=rev
Author: hofman
Date: 2008-08-16 14:13:37 +0000 (Sat, 16 Aug 2008)
Log Message:
-----------
Use proper method to update window title for main window
Modified Paths:
--------------
trunk/SKMainWindowController.m
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2008-08-16 14:12:39 UTC (rev 4419)
+++ trunk/SKMainWindowController.m 2008-08-16 14:13:37 UTC (rev 4420)
@@ -822,7 +822,7 @@
}
// the number of pages may have changed
- [mainWindow setTitle:[self windowTitleForDocumentDisplayName:[[self
document] displayName]]];
+ [self synchronizeWindowTitleWithDocumentName];
[self updateLeftStatus];
[self updateRightStatus];
}
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2008-08-16 14:12:39 UTC (rev 4419)
+++ trunk/SKMainWindowController_UI.m 2008-08-16 14:13:37 UTC (rev 4420)
@@ -1300,7 +1300,7 @@
if (beforeMarkedPageIndex != NSNotFound && [[pdfView currentPage]
pageIndex] != markedPageIndex)
beforeMarkedPageIndex = NSNotFound;
- [mainWindow setTitle:[self windowTitleForDocumentDisplayName:[[self
document] displayName]]];
+ [self synchronizeWindowTitleWithDocumentName];
[self updateLeftStatus];
}
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit