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."""
|
||||
if not via_ipc:
|
||||
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'):
|
||||
try:
|
||||
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 '
|
||||
"used."),
|
||||
|
||||
('ipc-open-target',
|
||||
SettingValue(typ.IPCOpenTarget(), 'window'),
|
||||
('new-instance-open-target',
|
||||
SettingValue(typ.NewInstanceOpenTarget(), 'window'),
|
||||
"How to open links in an existing instance if a new one is "
|
||||
"launched."),
|
||||
)),
|
||||
|
@ -1256,7 +1256,7 @@ class IgnoreCase(Bool):
|
||||
'chars')]
|
||||
|
||||
|
||||
class IPCOpenTarget(BaseType):
|
||||
class NewInstanceOpenTarget(BaseType):
|
||||
|
||||
"""How to open links in an existing instance if a new one is launched."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user