Rename ipc-open-target to new-instance-open-target.
This commit is contained in:
parent
f8d8e1507a
commit
2e2070ef6e
@ -234,7 +234,7 @@ class Application(QApplication):
|
|||||||
"""Helper function for process_args to get a window id."""
|
"""Helper function for process_args to get a window id."""
|
||||||
if not via_ipc:
|
if not via_ipc:
|
||||||
return 0
|
return 0
|
||||||
open_target = config.get('general', 'ipc-open-target')
|
open_target = config.get('general', 'new-instance-open-target')
|
||||||
if open_target in ('tab', 'tab-silent'):
|
if open_target in ('tab', 'tab-silent'):
|
||||||
try:
|
try:
|
||||||
window = objreg.get('last-main-window')
|
window = objreg.get('last-main-window')
|
||||||
|
@ -182,8 +182,8 @@ DATA = collections.OrderedDict([
|
|||||||
'_utf-8_, _iso-8859-1_, etc. If left empty a default value will be '
|
'_utf-8_, _iso-8859-1_, etc. If left empty a default value will be '
|
||||||
"used."),
|
"used."),
|
||||||
|
|
||||||
('ipc-open-target',
|
('new-instance-open-target',
|
||||||
SettingValue(typ.IPCOpenTarget(), 'window'),
|
SettingValue(typ.NewInstanceOpenTarget(), 'window'),
|
||||||
"How to open links in an existing instance if a new one is "
|
"How to open links in an existing instance if a new one is "
|
||||||
"launched."),
|
"launched."),
|
||||||
)),
|
)),
|
||||||
|
@ -1256,7 +1256,7 @@ class IgnoreCase(Bool):
|
|||||||
'chars')]
|
'chars')]
|
||||||
|
|
||||||
|
|
||||||
class IPCOpenTarget(BaseType):
|
class NewInstanceOpenTarget(BaseType):
|
||||||
|
|
||||||
"""How to open links in an existing instance if a new one is launched."""
|
"""How to open links in an existing instance if a new one is launched."""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user