LiuLang/bcloud — pull request #89 by Aetf (2014-11-10 07:07:30+00:00)
Title: Check keyring usability and disable remember password function accordingly

There are cases that we have the keyring module but it is actually unusable. Maybe because the user disabled keying service in System Settings (such as kwallet) or the keyring module fallback to a unusable backend due to lack of required packages for the most suitable backend.

This patch do some actual set_password and get_password operations after import the keyring module, if any exception happened, it will mark the keyring unavailable and cause the UI to disable the remember password function accordingly.