Question about Menu Moves

Brian Mattern rephorm at rephorm.com
Tue Jan 30 13:35:02 PST 2007


On Sun, Jan 28, 2007 at 11:21:02PM -0500, dan sinclair wrote:
> Hello,
> 
> I'm working on an implementation of the Menu Spec and have a question  
> regarding the <Move> operations.  Looking at the menu spec it  
> specifies that: "Within each <Menu>, execute <Move> operations in the  
> order that they appear." Which, makes sense to me. What doesn't is  
> the result of running the menu test suite for the Move test:
> 
(snip)
> 
> If I process the moves in order won't the BoardGames menu get moved  
> to Apps before the move to Games happens? In which case, there is no  
> menu to moves to Games anymore as it has already been renamed.
> 
> I guess the other possibility is, if you have two moves with the same  
> <Old> entry does the earlier move get ignored?
> 
> Any pointers are greatly appreciated.
>

I agree with Dan. As I read the spec, the second move should be a noop,
resulting in a final submenu named 'Apps'. If the second behavior is
desired, then the spec should be reworded.                                      
                                                                                
Anyone from the gnome/kde/freedesktop camps care to comment on this?
                                                                                
Brian




More information about the xdg mailing list