[Portland] xdg-menu copies .desktop file

Lubos Lunak l.lunak at suse.cz
Fri Apr 7 00:56:41 EEST 2006


On Thursday 06 April 2006 15:08, Dan Kegel wrote:
> On 4/5/06, Lubos Lunak <l.lunak at suse.cz> wrote:
> > > I think that's the key point here.  Any reasonable app will be
> > > packaged as an rpm/deb, or have an uninstaller that also removes
> > > the menu item.  Thus the menu item will already
> > > get removed when it should; we don't need another
> > > mechanism to handle that.
> >
> >  What's the point of having xdg-menu at all then?
>
> xdg-menu is how the app's postinstall and uninstall scripts
> will create and remove the menu item, of course.

 Then there's no point in using a separate prefix for the package. If the app 
comes as rpm, it can simply have the .desktop file already 
in /usr/share/applications.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/



More information about the Portland mailing list