1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-11 03:54:13 +01:00

Temporarily disable loading of the downloads module in FF26.

nsIDownloadManager has been removed so the module needs updating to utilise the
replacement Downloads.jsm.
This commit is contained in:
Doug Kearns
2013-12-17 00:03:58 +11:00
parent da049fa175
commit 94c28cc2aa
5 changed files with 17 additions and 1 deletions

View File

@@ -71,6 +71,8 @@ var AutoCmdHive = Class("AutoCmdHive", Contexts.Hive, {
*/
var AutoCommands = Module("autocommands", {
init: function () {
if (config.haveGecko("26"))
delete config.autocommands.DownloadPost; // FIXME
},
get activeHives() contexts.allGroups.autocmd.filter(h => h._store.length),

View File

@@ -74,6 +74,9 @@
<dl>
<dt>-sort</dt> <dd>Sort order (see <o>downloadsort</o>) (short name: <em>-s</em>)</dd>
</dl>
<note>
This command is currently unavailable in &dactyl.host; 26 and greater.
</note>
</description>
</item>

View File

@@ -576,8 +576,12 @@
<tags>'dls' 'dlsort' 'downloadsort'</tags>
<spec>'downloadsort' 'dlsort' 'dls'</spec>
<strut/>
<!--
<type>&option.downloadsort.type;</type>
<default>&option.downloadsort.default;</default>
-->
<type>stringlist</type>
<default>-active,+filename</default>
<description>
<p>
<ex>:downloads</ex> sort order, in order of precedence.
@@ -596,6 +600,9 @@
<dt>time</dt> <dd>Time remaining</dd>
<dt>url</dt> <dd>Source URL</dd>
</dl>
<note>
This option is currently unavailable in &dactyl.host; 26 and greater.
</note>
</description>
</item>

View File

@@ -45,6 +45,9 @@ var ConfigBase = Class("ConfigBase", {
* initialization code. Must call superclass's init function.
*/
init: function init() {
if (config.haveGecko("26"))
this.modules.global = this.modules.global.filter(m => m != "downloads"); // FIXME
this.loadConfig();
this.features.push = deprecated("Set.add", function push(feature) Set.add(this, feature));

View File

@@ -13,7 +13,8 @@
<dt>BookmarkRemove</dt> <dd>Triggered after a page's bookmark is removed</dd>
<dt>ColorScheme</dt> <dd>Triggered after a color scheme has been loaded</dd>
<dt>DOMLoad</dt> <dd>Triggered when a page's DOM content has fully loaded</dd>
<dt>DownloadPost</dt> <dd>Triggered when a download has completed</dd>
<dt>DownloadPost</dt> <dd>Triggered when a download has completed
<note>currently unavailable in &dactyl.host; 26 and greater</note></dd>
<dt>Fullscreen</dt> <dd>Triggered when the browser's fullscreen state changes</dd>
<dt>LocationChange</dt> <dd>Triggered when changing tabs or when navigating to a new location</dd>
<dt>PageLoadPre</dt> <dd>Triggered after a page load is initiated</dd>