menu: Fix broken "Save Theme" option.
commit7c89ca2551d00dfc89e5533b8d5d4cec8e1f89ba
authorDoug Torrance <dtorrance@piedmont.edu>
Tue, 15 May 2018 18:14:14 +0000 (15 14:14 -0400)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 15 May 2018 18:43:25 +0000 (15 19:43 +0100)
treeea02635bfe7e353b9d99376774ffe5ba933a03ef
parent0c737bc834ae01cac3fd4a213608e4a1bc0b72c2
menu: Fix broken "Save Theme" option.

This option had been broken for several reasons:
* The getstyle utility does not replace the #usergnusteppath# macro which
  was passed to it by the menu.
* When processing the USER_THEMES_DIR macro, the menu inserts a space
  afterwards, and so the directory and filename were passed to getstyle
  as two separate arguments.
* It used the old, pre-0.50.0 theme format.

By using the -p option to getstyle, we can avoid these issues, as we don't
need to specify the directory *and* it uses the 'new' (since 1999) themepack
format.
WindowMaker/appearance.menu.fy.in
WindowMaker/appearance.menu.in
WindowMaker/appearance.menu.nl.in