Menu-Spec and nested AppDirs

Heinrich Wendel h_wendel at cojobo.net
Fri May 27 10:05:03 EEST 2005


On Friday 27 May 2005 04:06, Havoc Pennington wrote:
> On Thu, 2005-05-26 at 21:06 +0200, Heinrich Wendel wrote:
> > We only have a global pool of AppDirs/DirectoryDirs, not a local one for
> > every menu. AppDirs/DirectoryDirs in Submenus are added at the end of
> > that global pool, so they have priority. To prevent collisions the
> > AppDirs/DirectoryDirs might have a prefix attribute. Additionally
> > AppDirs/DirectoryDirs that are in the Users's folder always have priority
> > instead of the System wide dirs.
>
> I think there are some archived discussions of this. It's basically bad
> for the same reason global variables in a program are bad. It messes up
> modularity. (Think about a third-party app adding its own submenu, for
> example)

That's why they can add a prefix, I don't see the problem currently.

> Havoc
mfg, heinrich



More information about the xdg mailing list