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

List:       freedesktop-xdg
Subject:    Re: Menu-Spec and nested AppDirs
From:       Heinrich Wendel <h_wendel () cojobo ! net>
Date:       2005-05-27 7:05:03
Message-ID: 200505270905.03537.h_wendel () cojobo ! net
[Download RAW message or body]

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

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

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