Re: [Patch] fvwm-menu-desktop improvements

2012-06-29 Thread Thomas Funk
Dan Espen des...@verizon.net wrote: Seems to me, the best way fvwm can interface with this mess is to just treat the whole name as one thing. What about this: we rename --desktop to --menu-prefix --menu-type to --menu-name In the help the following is written: --menu-prefix PREFIX

Re: [Patch] fvwm-menu-desktop improvements

2012-06-29 Thread Thomas Adam
On 29 June 2012 16:34, Thomas Funk t.funk...@googlemail.com wrote: Dan Espen des...@verizon.net wrote: Seems to me, the best way fvwm can interface with this mess is to just treat the whole name as one thing. What about this: we rename --desktop to --menu-prefix --menu-type to --menu-name I

Re: [Patch] fvwm-menu-desktop improvements

2012-06-29 Thread Dan Espen
Thomas Funk t.funk...@googlemail.com writes: Dan Espen des...@verizon.net wrote: Seems to me, the best way fvwm can interface with this mess is to just treat the whole name as one thing. What about this: we rename --desktop to --menu-prefix --menu-type to --menu-name In the help the

Re: [Patch] fvwm-menu-desktop improvements

2012-06-29 Thread Thomas Funk
Dan Espen des...@verizon.net wrote: Still giving the whole issue some thought. Still seems to me like: The XDG spec is faulty. It treats xxx-applications like a special case, but completely ignores any other root menu. No, it's not faulty Extract from Desktop Menu Specification V1.0 File

Re: [Patch] fvwm-menu-desktop improvements

2012-06-29 Thread Thomas Adam
On Fri, Jun 29, 2012 at 10:17:23PM +0200, Thomas Funk wrote: Dan Espen des...@verizon.net wrote: Still giving the whole issue some thought. Still seems to me like: The XDG spec is faulty. It treats xxx-applications like a special case, but completely ignores any other root menu. No, it's

Re: [Patch] fvwm-menu-desktop improvements

2012-06-29 Thread Dan Espen
Thomas Funk t.f...@web.de writes: (Please on replies to fvwm-workers, assume everyone is subscribed and just reply to fvwm-workers.) Thomas Adam wrote: On Fri, Jun 29, 2012 at 10:17:23PM +0200, Thomas Funk wrote: No, it's not faulty Extract from Desktop Menu Specification V1.0 File

Re: [Patch] fvwm-menu-desktop improvements

2012-06-28 Thread Thomas Funk
Dan Espen des...@verizon.net wrote: I see: File locations Files involved in this specification are located according to the desktop base directory specification. Here are the files defined by this specification: $XDG_CONFIG_DIRS/menus/${XDG_MENU_PREFIX}applications.menu But on my Fedora system,

Re: [Patch] fvwm-menu-desktop improvements

2012-06-27 Thread Thomas Funk
Dan Espen des...@verizon.net wrote: Could you redo patch 3 in light of current CVS. Attached. The way checkmenu wipes out it's input, the value of menu in the abort message is always None. Gives me a syntax error. You're right. Changed it from 'check' to 'install_prefix+desktop+menu_type+.menu

Re: [Patch] fvwm-menu-desktop improvements

2012-06-27 Thread Dan Espen
Thomas Funk t.funk...@googlemail.com writes: Dan Espen des...@verizon.net wrote: About your comment in fvwm-menu-desktop.in in cvs #?desktop=a + '-' I had some testing issues there. I don't remember what they were but I got something like --desktop gnome- to work and left that comment

Re: [Patch] fvwm-menu-desktop improvements

2012-06-27 Thread Thomas Funk
Dan Espen des...@verizon.net wrote: I had some testing issues there. I don't remember what they were but I got something like --desktop gnome- to work and left that comment behind. Is there an xdg rule that makes '-' special? --desktop with '-' is the $XDG_MENU_PREFIX Seem to be saying that

[Patch] fvwm-menu-desktop improvements

2012-06-24 Thread Thomas Funk
Hi Dan, I've attached 2 patches again. fvwm-menu-desktop.in.p2.patch - only improvements. Should be patched after the first patch. - I've added two new options: '--menu-type' and changed '--desktop' to it's named behavior. Before: --desktop=applications/gnome-applications