Revision: 4417
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4417&view=rev
Author:   hofman
Date:     2008-08-16 14:07:37 +0000 (Sat, 16 Aug 2008)

Log Message:
-----------
Use proper method to update window title for snapshot window.

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

Modified: trunk/SKSnapshotWindowController.m
===================================================================
--- trunk/SKSnapshotWindowController.m  2008-08-16 10:56:20 UTC (rev 4416)
+++ trunk/SKSnapshotWindowController.m  2008-08-16 14:07:37 UTC (rev 4417)
@@ -142,11 +142,9 @@
 
 - (void)handlePageChangedNotification:(NSNotification *)notification {
     [self setPageLabel:[[pdfView currentPage] displayLabel]];
-    [[self window] setTitle:[self windowTitleForDocumentDisplayName:[[self 
document] displayName]]];
 }
 
 - (void)handleDocumentDidUnlockNotification:(NSNotification *)notification {
-    [[self window] setTitle:[self windowTitleForDocumentDisplayName:[[self 
document] displayName]]];
     [self setPageLabel:[[pdfView currentPage] displayLabel]];
 }
 
@@ -324,6 +322,7 @@
     if (pageLabel != newPageLabel) {
         [pageLabel release];
         pageLabel = [newPageLabel retain];
+        [self synchronizeWindowTitleWithDocumentName];
     }
 }
 


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

Reply via email to