mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-13 00:45:45 +01:00
Poke :downloads a bit. Add -sort flag, downloadsort option, :dlclear command. Closes issue #386.
--HG-- extra : rebase_source : 1ce7621d39e91f2779d1827975b44f00c7a1d00b
This commit is contained in:
@@ -519,6 +519,32 @@
|
||||
</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<tags>'dls' 'dlsort' 'downloadsort'</tags>
|
||||
<spec>'downloadsort'</spec>
|
||||
<type>stringlist</type>
|
||||
<default>-active,+filename</default>
|
||||
<description>
|
||||
<p>
|
||||
<ex>:downloads</ex> sort order, in order of precedence.
|
||||
Each element must be preceded by a <tt>+</tt> or
|
||||
<tt>-</tt>, indicating ascending or descending sorting,
|
||||
respectively. Valid sort orders are:
|
||||
</p>
|
||||
|
||||
<dl>
|
||||
<dt>active</dt> <dd>Whether download is active</dd>
|
||||
<dt>complete</dt> <dd>Percent complete</dd>
|
||||
<dt>filename</dt> <dd>Target filename</dd>
|
||||
<dt>size</dt> <dd>File size</dd>
|
||||
<dt>speed</dt> <dd>Download speed</dd>
|
||||
<dt>time</dt> <dd>Time remaining</dd>
|
||||
<dt>url</dt> <dd>Source URL</dd>
|
||||
</dl>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
||||
<item>
|
||||
<tags>'ds' 'defsearch'</tags>
|
||||
<spec>'defsearch' 'ds'</spec>
|
||||
|
||||
Reference in New Issue
Block a user