Eliminate pixbuf from IdCard
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Tue, 22 Oct 2013 12:11:33 +0000 (08:11 -0400)
committerKevin Wasserman <kevin.wasserman@painless-security.com>
Tue, 22 Oct 2013 12:11:33 +0000 (08:11 -0400)
commit88cd03897f892a964e44367b5b0fb4d1a72495fc
tree6d51e2cc61dc9d332bd3db28c3653e48f0f15f2b
parentc5232cc938ec9170741932b441c92fffddbc56e6
Eliminate pixbuf from IdCard

IdCard should not depend on GDK.
Instead, add utility function to find the correct pixbuf given an IdCard.
For now, it simply returns the "avatar-default" icon, but should eventually
do something intelligent based on the IdCard data.
This incidentally fixes the bug that id's from the keyring data store didn't
get the avatar-default icon.
src/moonshot-id.vala
src/moonshot-idcard-widget.vala
src/moonshot-identity-management-view.vala
src/moonshot-local-flat-file-store.vala
src/moonshot-utils.vala