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

List:       freedesktop-xdg
Subject:    Re: Menu-Spec and nested AppDirs
From:       Havoc Pennington <hp () redhat ! com>
Date:       2005-05-27 2:06:18
Message-ID: 1117159578.28481.27.camel () localhost ! localdomain
[Download RAW message or body]

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)

Havoc



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

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