ibus 1.5.4 in f20 or later exports input purpose for gnome-shell password. Please refer the patch below: https://github.com/ibus/ibus-anthy/commit/6aae0a9f145f536515e268dd6b25aa740a5edfe7
The input purpose feature requires ibus >= 1.5.4.
Patch for input purpose feature: https://github.com/epico/ibus-libpinyin/commit/69f50424ba5be49c4b31543df7bd7970361d4753 Please review it, thanks.
Guess I need to use Fedora 20 to test it?
OK, I verified your patch. If you remove ibus-xx-f19-password.patch and build ibus by youself, you can test it with Fedora 19 too: http://pkgs.fedoraproject.org/cgit/ibus.git/tree/ibus-xx-f19-password.patch Otherwise you need to use Fedora 20.
ibus-libpinyin-1.6.91-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/FEDORA-2013-18513/ibus-libpinyin-1.6.91-5.fc20
ibus-libpinyin-1.6.91-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.