Revision: 4924
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4924&view=rev
Author:   hofman
Date:     2008-11-07 16:54:30 +0000 (Fri, 07 Nov 2008)

Log Message:
-----------
Use the filename for the keychain when the files doesn't have an ID.

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

Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m       2008-11-07 12:23:00 UTC (rev 4923)
+++ trunk/SKPDFDocument.m       2008-11-07 16:54:30 UTC (rev 4924)
@@ -1694,6 +1694,8 @@
     NSArray *fileIDStrings = [self fileIDStrings];
     if ([fileIDStrings count])
         return [[NSString stringWithFormat:@"Skim - %@", [fileIDStrings 
objectAtIndex:0]] UTF8String];
+    if ([self fileName])
+        return [[NSString stringWithFormat:@"Skim - %@", [self fileName]] 
UTF8String];
     return NULL;
 }
 


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