From f12452ff8ddbca03d2771a43a62e777986d609c1 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 10 May 2014 03:33:01 +0000 Subject: [PATCH] #566: the option is named "swap-keys", only the configuration field is named "swap_keys" (python variable naming rules) git-svn-id: https://xpra.org/svn/Xpra/trunk@6434 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/scripts/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xpra/scripts/config.py b/src/xpra/scripts/config.py index 2d7feae7fa..1198c3422b 100644 --- a/src/xpra/scripts/config.py +++ b/src/xpra/scripts/config.py @@ -275,7 +275,7 @@ def read_xpra_defaults(): "exit-ssh" : bool, "opengl" : bool, "mdns" : bool, - "swap_keys" : bool, + "swap-keys" : bool, #arrays of strings (default value, allowed options): "video-encoders" : list, "csc-modules" : list, @@ -367,7 +367,7 @@ def get_defaults(): "exit-ssh" : True, "opengl" : OPENGL_DEFAULT, "mdns" : os.name=="posix" and not sys.platform.startswith("darwin"), - "swap_keys" : sys.platform.startswith("darwin"), #only used on osx + "swap-keys" : sys.platform.startswith("darwin"), #only used on osx "video-encoders" : [], "csc-modules" : [], "speaker-codec" : [],