зеркало из https://github.com/mozilla/pjs.git
Add ability to find "Internet Search Sites" folder on Mac.
This commit is contained in:
Родитель
34c51d58cc
Коммит
145b24f47c
|
@ -315,6 +315,10 @@ void nsSpecialSystemDirectory::operator = (SystemDirectories aSystemSystemDirect
|
|||
case Mac_DocumentsDirectory:
|
||||
*this = kDocumentsFolderType;
|
||||
break;
|
||||
|
||||
case Mac_InternetSearchDirectory:
|
||||
*this = kInternetSearchSitesFolderType;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef XP_PC
|
||||
|
|
|
@ -57,6 +57,7 @@ class NS_COM nsSpecialSystemDirectory : public nsFileSpec
|
|||
, Mac_FontsDirectory = 109
|
||||
, Mac_PreferencesDirectory = 110
|
||||
, Mac_DocumentsDirectory = 111
|
||||
, Mac_InternetSearchDirectory = 112
|
||||
|
||||
, Win_SystemDirectory = 201
|
||||
, Win_WindowsDirectory = 202
|
||||
|
|
Загрузка…
Ссылка в новой задаче