Skip to content

Commit

Permalink
abbreviate path in bookmarks table
Browse files Browse the repository at this point in the history
git-svn-id: https://skim-app.svn.sourceforge.net/svnroot/skim-app/trunk@7672 0fceea05-a30d-0410-8a8b-80ef821fb0a1
  • Loading branch information
hofman committed Feb 28, 2012
1 parent 53bfe76 commit 9a478ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SKBookmarkController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 9a478ac

Please sign in to comment.