summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrappist <trappist>2007-02-19 01:09:52 +0000
committertrappist <trappist>2007-02-19 01:09:52 +0000
commit2f3d9a3c424104b1975b1c9818301ffa8bfc29f5 (patch)
treeaa1533edefc392f6b464cd76b143d59855b98e74
parent6ec189cc51db1cfd16c58654ea85bbbc537ba684 (diff)
downloadberyl-settings-bindings-2f3d9a3c424104b1975b1c9818301ffa8bfc29f5.tar.gz
beryl-settings-bindings-2f3d9a3c424104b1975b1c9818301ffa8bfc29f5.tar.bz2
beryl-settings-bindings: return "Disabled" rather than "None" on null keys
-rw-r--r--python/berylsettings.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/berylsettings.pyx b/python/berylsettings.pyx
index 0664e43..1ceff3d 100644
--- a/python/berylsettings.pyx
+++ b/python/berylsettings.pyx
@@ -311,7 +311,7 @@ def keytostring(keysym):
cdef char * s
s=XKeysymToString(keysym)
if (s==NULL):
- return "None"
+ return "Disabled"
return s
def modstostring(mods):