зеркало из https://github.com/mozilla/pjs.git
Fix bug 262245: make sure the Downloads location is displayed using localized names. Patch by Ludovic Hirlimann.
This commit is contained in:
Родитель
839a0d2559
Коммит
816368ef87
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче