[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Removing untrusted .desktop custom icons
From: David Faure <faure () kde ! org>
Date: 2009-03-02 19:30:18
Message-ID: 200903022030.18994.faure () kde ! org
[Download RAW message or body]
On Sunday 01 March 2009, Roland Harnau wrote:
> 2009/2/28, Michael Pyne <mpyne@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").
--
David Faure, faure@kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic