Account services can provide icons, so we can show them in the checkbox
of the service.
The whole widget should probably become a listview with custom delegate at
some point, but for now there is no reason to not show the icons.
mck182 |
VDG |
Account services can provide icons, so we can show them in the checkbox
of the service.
The whole widget should probably become a listview with custom delegate at
some point, but for now there is no reason to not show the icons.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
What happens when the service provides no icon
name or an icon that cannot be found? Can you
please test that?
Doesn't look pretty, but on the other hand there is enough time to fix the missing icons (before the next kaccounts-integration release).
I actually cheated in my previous screenshots because Purpose's youtube service has google-youtube, while breeze has only im-youtube.
@andreaska What do you say about this? Does breeze miss a google-youtube symlink or Purpose should use im-youtube instead?
Ok, can you perhaps put some other/generic/nice icon
if the iconName() is empty? Just to keep the list consistent?
Or maybe put the icon elsewhere so that it won't affect the
alignment? But I ain't no designer..
Or maybe we should use the generic internet-services icon, given that also the provider icon could be missing:
I think this is good. Might look a bit weird when you
have a whole bunch of services with default icons
but oh well.