Rename ipc-open-target to new-instance-open-target.

This commit is contained in:
Florian Bruhin 2014-10-14 09:59:01 +02:00
parent f8d8e1507a
commit 2e2070ef6e
3 changed files with 4 additions and 4 deletions

View File

@ -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')

View File

@ -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."),
)),

View File

@ -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."""