Fix bug 262245: make sure the Downloads location is displayed using localized names. Patch by Ludovic Hirlimann.

This commit is contained in:
smfr%smfr.org 2005-05-26 04:38:48 +00:00
Родитель 839a0d2559
Коммит 816368ef87
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -220,7 +220,7 @@ const int kDefaultExpireDays = 9;
[icon setSize:NSMakeSize(16.0, 16.0)];
// set the title to the leaf name and the icon to what we gathered above
[placeholder setTitle:[inDLPath lastPathComponent]];
[placeholder setTitle:[[NSFileManager defaultManager] displayNameAtPath:inDLPath]];
[placeholder setImage:icon];
// ensure first item is selected