Re: wmaker menu - including files

2017-08-12 Thread Doug Torrance

On 08/07/2017 01:55 PM, Christophe wrote:

Hello,

- Andreas Metzler  a écrit :

Hello,

[...]

However including a menu in proplist format at toplevel fails:
[...]

Is this intentional behavior?


As you probably have deduced by yourself now thanks to the copious amount of 
answer so far, yes, it is intentional.
Window Maker does not support mixing different formats for menus: it expects 
one format and does not suppose it could be the other.


We can mix menu formats with no problems by using OPEN_MENU and 
OPEN_PLMENU as necessary.


I looked at the source, and currently we're assuming the WMRootMenu is 
either in proplist format itself *or* it references a path to another 
menu file in the old style format.


I just submitted a patch which would allow it to reference a path to 
another menu file in proplist format as well.


Doug


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


Re: wmaker menu - including files

2017-08-07 Thread Christophe
Hello,

- Andreas Metzler  a écrit :
> Hello,
> 
> [...]
> 
> However including a menu in proplist format at toplevel fails:
> [...]
>
> Is this intentional behavior?

As you probably have deduced by yourself now thanks to the copious amount of 
answer so far, yes, it is intentional.
Window Maker does not support mixing different formats for menus: it expects 
one format and does not suppose it could be the other.


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.