gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] icon


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] icon
Date: Sun, 4 Aug 2002 17:32:21 +0200
User-agent: Mutt/1.3.22.1i

> Fine if that's the list consensus, if so, what sort of icon would you use for 
> incoming mail, because I think to have two similar icons is confusing.
Given the arrow is clear (make it larger and maybe just a
tailed triangle pointing up or down ?) I am fine with this.

Alternatively use the standard US post box icon for INBOX.

> (anyway, in the end I think we should have user-configurable icons for each 
> module, and just supply a palette of them)
Done.

gmPlugin.py now passes an opaque parameter to
<aPlugin>.GetIconData() wherefrom GetIconData() decides which
icon to return. How to actually _get_ the icon data is up to
the plugin. The easiest case would be to just return them from
a dict with the passed in argument as a key. See
gmReferrals.py for a better example. A plugin could also
choose to ignore the parameter and just always return the same
icon. Plugins that want nothing to do with all that crap can
just override GetIcon() alltogether.

Oh, and currently the argument passed is always "None" pending
configuration implemention. A decent configuration manager
would then need a way to retrieve all icons from a plugin with
their respective keys in order to let the user choose one and
store the key for later use.

Regards,
Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]