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

List:       kde-core-devel
Subject:    Re: [PATCH] kmenuedit enhancment
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-02-09 15:33:24
[Download RAW message or body]

On Saturday 09 February 2002 14:19, Raffaele Sandrini wrote:
> Hi
> 
> Here is a patch wich enhances Kmenuedit. I send it because it doesn't look 
at 
> the freeze rule but i seems to impoortant to me to have that in the release.

Maybe it should use NoDisplay to hide an entry from the menu ?
That is, maybe deleting can still use Hidden, but hiding could use NoDisplay
(I know, the naming is confusing).
What difference does it make? Well, when an app uses the .desktop filename of 
another app to start it (e.g. when kfmclient starts konqueror), it needs the 
.desktop file to exist as far as ksycoca is concerned, i.e. Hidden=true 
*breaks* this.
NoDisplay simply hides from the menu, but still makes the information in the 
.desktop file available to other apps which want to programmatically start 
it.

Since moving a .desktop file has to delete the old one by adding Hidden=true, 
this should remain that way though, otherwise there would be two versions of 
the .desktop file in ksycoca.

Hidden=true should really have been named Deleted=true......

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david, http://www.konqueror.org
KDE 3.0: Konquering the Desktops

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

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