Browse files

abbreviate path in bookmarks table

git-svn-id: https://skim-app.svn.sourceforge.net/svnroot/skim-app/trunk@7672 0fceea05-a30d-0410-8a8b-80ef821fb0a1
  • Loading branch information...
1 parent 53bfe76 commit 9a478ac959a52bf6fa3fc928a5e72a91257dc2df hofman committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SKBookmarkController.m
View
2 SKBookmarkController.m
@@ -594,7 +594,7 @@ - (id)outlineView:(NSOutlineView *)ov objectValueForTableColumn:(NSTableColumn *
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];

0 comments on commit 9a478ac

Please sign in to comment.