mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 00:37:32 +09:00
Issue #991 Part 7: Toolkit Components
This commit is contained in:
parent
c54c6d3bd2
commit
e309515e66
18 changed files with 55 additions and 204 deletions
|
|
@ -368,11 +368,7 @@ this.DownloadIntegration = {
|
|||
*/
|
||||
getPreferredDownloadsDirectory: Task.async(function* () {
|
||||
let directoryPath = null;
|
||||
let prefValue = 1;
|
||||
|
||||
try {
|
||||
prefValue = Services.prefs.getIntPref("browser.download.folderList");
|
||||
} catch(e) {}
|
||||
let prefValue = Services.prefs.getIntPref("browser.download.folderList", 1);
|
||||
|
||||
switch(prefValue) {
|
||||
case 0: // Desktop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue