зеркало из https://github.com/mozilla/pjs.git
Bug 398174: add DM 'addToRecentDocs' pref to firefox.js, and add a comment explaining it's use, r+a=mconnor
This commit is contained in:
Родитель
0fa1ca01c5
Коммит
88a0409f05
|
@ -215,6 +215,7 @@ pref("browser.download.manager.openDelay", 0);
|
|||
pref("browser.download.manager.focusWhenStarting", false);
|
||||
pref("browser.download.manager.flashCount", 2);
|
||||
pref("browser.download.manager.displayedHistoryDays", 7);
|
||||
pref("browser.download.manager.addToRecentDocs", true);
|
||||
|
||||
// search engines URL
|
||||
pref("browser.search.searchEnginesURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/firefox/%VERSION%/search-engines/");
|
||||
|
|
|
@ -1610,6 +1610,8 @@ nsDownload::SetState(DownloadState aState)
|
|||
}
|
||||
}
|
||||
#ifdef XP_WIN
|
||||
// Default is to add the download to the system's "recent documents"
|
||||
// list, with a pref to disable.
|
||||
PRBool addToRecentDocs = PR_TRUE;
|
||||
if (pref)
|
||||
pref->GetBoolPref(PREF_BDM_ADDTORECENTDOCS, &addToRecentDocs);
|
||||
|
|
Загрузка…
Ссылка в новой задаче