[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Some .desktop files don't have OnlyShowIn=KDE
From:       Gustavo Pichorim Boiko <gustavo.boiko () kdemail ! net>
Date:       2004-10-22 17:01:51
Message-ID: 200410221401.57675.gustavo.boiko () kdemail ! net
[Download RAW message or body]


On Friday 22 October 2004 12:31, Taj Morton wrote:
> Hi All,
> I've been doing some work with Autopackage <http://www.autopackage.org>,
> and found some bugs in .desktop file handeling with menus. Some (most?)
> are not valid with the fdo menu-spec (used desktop-file-validate). Most
> are missing the ; at the end of Categories, and Terminal is set to 0,
> instead of false.

Yes, that should be fixed.

> But...the real problem is this:
> Categories=Qt;KDE;Core
> (KConfig.desktop)
>
> Without the KDE entry, .desktop files with Core don't show up in the
> root menu. That's not compliant with the fdo spec... Actually, the
> OnlyShowIn key should be used (OnlyShowIn=KDE) and Categories=Core;.
> (Gnome does this). Is there some reason which I'm not aware of for this
> Feature/Bug?

It is compliant with fdo spec. If an application is a KDE application, it 
should have KDE in its Categories property. If it is also a core application, 
it should also have Core on its Categories. The OnlyShowIn key is used to 
tell wheter to show or not to show the entry in other desktop environments 
than the specified in OnlyShowIn.

But you are right, non-KDE core applications are not shown in KDE menu. And in 
my opinion this is right, since those applications are intended to be used in 
their native desktop environments.

For the non-core applications that doesn't match any other menu entry, there 
is a menu called Applications in which all unallocated applications are 
shown.

[]'s
-- 
Gustavo Pichorim Boiko
----------------------------------------
KDE Developer
Computer Science - UFPR
----------------------------------------
gustavo.boiko @ kdemail . net

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic