[Adium-devl] Old keyboard layouts and new APIs
David Smith
catfish.man at gmail.com
Tue Apr 28 02:00:04 UTC 2009
As part of the preparation for 64 bit Adium, I applied Rogue Amoeba's
patch to convert PTKey* over to using the modern TIS* API rather than
the deprecated (gone in 64 bit) KL* API. Unfortunately, it seems that
TIS* doesn't support old-style kchr keyboard layouts. As such, you can
crash Adium by doing the following:
1) Install a pre-leopard keyboard layout
2) Activate it
3) Open general preferences in Adium 1.4
I'm a bit uncertain on what to do. I guess we could #ifdef in the old
code, but that's sort of horrible. I'd prefer to just fail gracefully
somehow. Still looking into how to go from "TISGetInputSourceProperty
() returned NULL" to something that makes sense in the UI.
David
More information about the devel
mailing list