From 5f8631d49395094e4c3f449610e578e621c781a1 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 16 Feb 2014 20:28:19 +1100 Subject: [PATCH] Restore DownloadPost autocommand. --HG-- extra : amend_source : 0baac78186f1293afc137b0815669159969fea20 --- common/content/autocommands.js | 2 +- common/locale/en-US/options.xml | 4 ---- pentadactyl/locale/en-US/autocommands.xml | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/common/content/autocommands.js b/common/content/autocommands.js index e13a3695..b276700d 100644 --- a/common/content/autocommands.js +++ b/common/content/autocommands.js @@ -71,7 +71,7 @@ var AutoCmdHive = Class("AutoCmdHive", Contexts.Hive, { */ var AutoCommands = Module("autocommands", { init: function () { - if (config.haveGecko("26")) + if (!config.haveGecko("26")) delete config.autocommands.DownloadPost; // FIXME }, diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml index 1c524bbd..64de8606 100644 --- a/common/locale/en-US/options.xml +++ b/common/locale/en-US/options.xml @@ -576,12 +576,8 @@ 'dls' 'dlsort' 'downloadsort' 'downloadsort' 'dlsort' 'dls' - - stringlist - -active,+filename

:downloads sort order, in order of precedence. diff --git a/pentadactyl/locale/en-US/autocommands.xml b/pentadactyl/locale/en-US/autocommands.xml index eaad10da..ccae1352 100644 --- a/pentadactyl/locale/en-US/autocommands.xml +++ b/pentadactyl/locale/en-US/autocommands.xml @@ -14,7 +14,6 @@

ColorScheme
Triggered after a color scheme has been loaded
DOMLoad
Triggered when a page's DOM content has fully loaded
DownloadPost
Triggered when a download has completed - currently unavailable in &dactyl.host; 26 and greater
Fullscreen
Triggered when the browser's fullscreen state changes
LocationChange
Triggered when changing tabs or when navigating to a new location
PageLoadPre
Triggered after a page load is initiated