Removing untrusted .desktop custom icons

Michael Pyne mpyne at purinchu.net
Mon Mar 2 23:09:32 GMT 2009


On Monday 02 March 2009, David Faure wrote:
> On Sunday 01 March 2009, Roland Harnau wrote:
> > 2009/2/28, Michael Pyne <mpyne at purinchu.net>:
> > > I just use KDesktopFile::hasApplicationType() to see if I need to dig
> > > further,
> > > are there any other weird application launcher types that don't return
> > > true for hasApplicationType that I need to worry about?
> >
> > There are also launchers with Type=Service and  Exec key used by
> > stand-alone daemons (e.g. kwalletd).
>
> Yep. So better replace hasApplicationType() with
> desktopGroup().hasKey("Exec").

fixed in r934396.

Regards,
 - Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090302/a48e7f80/attachment.sig>


More information about the kde-core-devel mailing list