[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new menu tag for KDE apps



On Mon, Apr 09, 2001 at 12:13:08PM +0800, csj@mindgate.net wrote:
> On Monday 09 April 2001 12:16, Ivan E. Moore II wrote:
> > Hi,
> >
> >     To those of you building KDE packages for Debian I'm adding a
> > new tag to the menus for Debian.  So by default you should have 2
> > items in your Debian menu files if it's a KDE application.
> >
> >     hints="KDE"
> >     kderemove="1"
> >
> > the hints="KDE" is for the hints bit of the menu system...if you
> > don't have it now you might as well get it added before someone
> > files a bug against your package. :)  All this does is allow people
> > to sort their menus based on KDE,GNOME, or other tags.
> >
> > the kderemove="1" tells the KDE menu-method to not add that
> > application to the Debian subment of the KDE Menu.  This way we
> > don't duplicate the menu entries since all KDE apps should already
> > be a part of the KDE menu.
> >
> 
> Wouldn't this pose a problem for (or affect) those using other window 
> managers, say icewm, which doesn't have separate KDE (or Gnome) 
> submenus?

this only affects the KDE menu tree...  Basically the "kdebase" menu-method
looks for "kderemove" and if it finds it it doesn't create a .desktop file
under /var/lib/kde/menu... No other menu-method currently uses that tag and
therefore will ignore it.  And no other Window Manager uses the menu structure
under /var/lib/kde/menu.  

If you still don't understand you should read up on menu.  Take a look at
/usr/share/doc/menu/*   (If you have menu installed...which if you dont' you
probably don't have a Debian subment off of the KDE menu).  

Ivan

-- 
----------------
Ivan E. Moore II
rkrusty@tdyc.com
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD



Reply to: