Update docs/lint
This commit is contained in:
parent
5a4708cc42
commit
5867a9982c
|
|
@ -59,6 +59,9 @@ Added
|
|||
between the devtools and web page.
|
||||
- New `--target private-window` argument, which can be used to open a private
|
||||
window in an existing instance from the commandline.
|
||||
- The `:download-open` command now has a new `--dir` flag which can be used to
|
||||
open the directory containing the downloaded file. An entry to do the same
|
||||
was also added to the context menu.
|
||||
|
||||
Fixed
|
||||
~~~~~
|
||||
|
|
|
|||
|
|
@ -480,8 +480,9 @@ If no specific command is given, this will use the system's default application
|
|||
present, the filename is automatically appended to the
|
||||
cmdline.
|
||||
|
||||
|
||||
==== optional arguments
|
||||
* +*-d*+, +*--dir*+: Open the file's directory instead
|
||||
* +*-d*+, +*--dir*+: Whether to open the file's directory instead.
|
||||
|
||||
==== count
|
||||
The index of the download to open.
|
||||
|
|
|
|||
|
|
@ -148,9 +148,8 @@ class DownloadView(QListView):
|
|||
elif item.done:
|
||||
if item.successful:
|
||||
actions.append(("Open", item.open_file))
|
||||
actions.append(("Open directory",
|
||||
functools.partial(item.open_file,
|
||||
open_dir=True, cmdline=None)))
|
||||
actions.append(("Open directory", functools.partial(
|
||||
item.open_file, open_dir=True, cmdline=None)))
|
||||
else:
|
||||
actions.append(("Retry", item.try_retry))
|
||||
actions.append(("Remove", item.remove))
|
||||
|
|
|
|||
Loading…
Reference in New Issue