Search "icons" subdir for UserIcon

Andras Mantia amantia at kde.org
Thu May 27 19:49:00 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

  I'd like to make a proposal: add $appdir/icons to the default search 
paths for UserIcon.
Right now pics and toolbar is the default. The latter looks a little 
strange for me
(yes, that is used also in Quanta, but this is because of historical 
reasons) and
I think many developers are tempted to install the icons under the 
"icons" directory.
The patch as I see would be a simple

   d->mpDirs->addResourceType("appicon", 
KStandardDirs::kde_default("data") +
                appname + "/icons/");

which goes to KIconLoader::init and KIconLoader::addAppDir (and of 
course the documentation should be updated).

What do you think?

Andras

- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAtjgcTQdfac6L/08RAgWcAJ9w7/02utuBwY1dfTtgrPGmqZEIbwCcCpxj
O6kAlayWYidzI4NZldLpACI=
=52Us
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list