Make new-instance-open-target docs more clear.

This commit is contained in:
Florian Bruhin 2015-05-19 06:13:29 +02:00
parent 98d1fca220
commit b78d5f57aa
2 changed files with 10 additions and 8 deletions

View File

@ -398,10 +398,10 @@ How to open links in an existing instance if a new one is launched.
Valid values:
* +tab+: Open a new tab in the existing window and activate it.
* +tab-bg+: Open a new background tab in the existing window and activate it.
* +tab-silent+: Open a new tab in the existing window without activating it.
* +tab-bg-silent+: Open a new background tab in the existing window without activating it.
* +tab+: Open a new tab in the existing window and activate the window.
* +tab-bg+: Open a new background tab in the existing window and activate the window.
* +tab-silent+: Open a new tab in the existing window without activating the window.
* +tab-bg-silent+: Open a new background tab in the existing window without activating the window.
* +window+: Open in a new window.
Default: +pass:[window]+

View File

@ -1436,15 +1436,17 @@ class NewInstanceOpenTarget(BaseType):
"""How to open links in an existing instance if a new one is launched."""
valid_values = ValidValues(('tab', "Open a new tab in the existing "
"window and activate it."),
"window and activate the window."),
('tab-bg', "Open a new background tab in the "
"existing window and activate it."),
"existing window and activate the "
"window."),
('tab-silent', "Open a new tab in the existing "
"window without activating "
"it."),
"the window."),
('tab-bg-silent', "Open a new background tab "
"in the existing window "
"without activating it."),
"without activating the "
"window."),
('window', "Open in a new window."))