can't customize commands with oblogout.conf
Bug #1206102 reported by
neibaf
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OBLogout |
New
|
Undecided
|
Unassigned |
Bug Description
There is a little mistyping in line 225 of __init__.py which disable the capability to customize commands.
The old line :
if key[1] in ['logout', 'restart', 'shutdown', 'suspend', 'hibernate', 'safesuspend', 'lock', 'switch']:
The correction :
if key[0] in ['logout', 'restart', 'shutdown', 'suspend', 'hibernate', 'safesuspend', 'lock', 'switch']:
It was looking of the value insdead of the key.
Regards.
Neibaf
To post a comment you must log in.