Patch to make KNotify look in apps' own sound dirs

Carsten Pfeiffer carpdjih at sp.zrz.tu-berlin.de
Thu Oct 10 12:24:57 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----

On Thursday 10 October 2002 10:54, Neil Stevens wrote:

Hiya,

> Right now apps have to install their sounds into $(kde_sounddir) for
> knotify to find their sounds.  This patch lets sounds in
> $(kde_datadir)/<appname>/sounds be found, too.

shouldn't it look in the appsdir first and then in the global dir? And isn't  
findResource() a bit more efficient (if you only want the first file anyway).

And finally, can you add some bits of documentation about this to 
KNotifyClient?

Thanks
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPaVjiaWgYMJuwmZtAQFfEQgAuerhBXwBkYD0dDJDEXgdjbHzV1bDcLbb
0Dk4g6kJdRGBZWF+Pfspd3cZLzhg6KjraXI8xGtlX5blJkB5JANZMFv7Yy8bDizc
+ybqPws0Sz7FrLLtOeFeuD/w8ZDUwlCtwg6lYYUnc17Y090Y47QCGho/+7sF3gib
rKORypSrsxqsIq97QmXNLa2Z9GAew4tcjldQlBewZOeO4Gj2LNjlrU4YDLPN/KBS
Hns/bWlX/hXngLeJvd40ynasKValxNJMobR48T5p98dDMQdMzgB5z+EvcAG3118r
FzJd1Eqf3THmIABa9hArpq1+XhATh0oLfKPO4aYzFG8WZzdgNXRlgA==
=QzvT
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list