Skip to content

Commit

Permalink
#566: the option is named "swap-keys", only the configuration field i…
Browse files Browse the repository at this point in the history
…s named "swap_keys" (python variable naming rules)

git-svn-id: https://xpra.org/svn/Xpra/trunk@6434 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 10, 2014
1 parent 3c740e5 commit f12452f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/scripts/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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" : [],
Expand Down

0 comments on commit f12452f

Please sign in to comment.