[Users] [Bug 3158] Avatar plugin priority
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Sat Jun 21 16:54:35 CEST 2014
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3158
--- Comment #3 from Ricardo Mones <mones at users.sourceforge.net> ---
Don't take it bad but my initial idea for this is not to have it centralized at
all. The core should not care about this priority since it's an arrangement
among plugins of some kind. I don't like the idea of having code in core for
this even if no avatar plugin is loaded, only the strictly required (which
ideally should be nothing :)
One idea for this is applying something similar to what is done with pgp
plugins: one avatarcore plugin with the common code (something similar to the
priority management you depicted in your patch) and the other avatar-related
plugins would reuse it.
Also some common interface would have to be defined: at least functions to
query/set priority all avatar-related plugins should implement, so the
avatarcore would invoke them for each of them appropriately. Maybe also some
user-friendly identification function to help GUI.
Had not much time to think about the details, but more or less that's the big
picture right now. So if you want to invest time on this I think that's the way
to go, more than adding more code to the core.
Thanks in advance!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list