Revision: 7672
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7672&view=rev
Author:   hofman
Date:     2012-02-28 13:07:40 +0000 (Tue, 28 Feb 2012)
Log Message:
-----------
abbreviate path in bookmarks table

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

Modified: trunk/SKBookmarkController.m
===================================================================
--- trunk/SKBookmarkController.m        2012-02-25 12:39:02 UTC (rev 7671)
+++ trunk/SKBookmarkController.m        2012-02-28 13:07:40 UTC (rev 7672)
@@ -594,7 +594,7 @@
             NSInteger count = [item countOfChildren];
             return count == 1 ? NSLocalizedString(@"1 item", @"Bookmark folder 
description") : [NSString stringWithFormat:NSLocalizedString(@"%ld items", 
@"Bookmark folder description"), (long)count];
         } else {
-            return [item path];
+            return [[item path] stringByAbbreviatingWithTildeInPath];
         }
     } else if ([tcID isEqualToString:PAGE_COLUMNID]) {
         return [item pageNumber];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to