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


** Changed in: language-selector (Ubuntu Xenial)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1585797

Title:
  Distinguish between input method "XIM" and "none"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1585797/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to