Comment 1 for bug 1585797

Revision history for this message
Brian Murray (brian-murray) wrote :

I don't know if the order of inputMethods matters, but none will always be at the end with the following change.

 35 def getAvailableInputMethods(self):
 36 - inputMethods = subprocess.check_output(['im-config', '-l']).decode().split()
 37 - return sorted(inputMethods)
 38 + inputMethods = sorted(subprocess.check_output(['im-config', '-l']).decode().split())
 39 + inputMethods.append('none')
 40 + return inputMethods