wmgenmenu: Fix "Save Theme"
commit6bf5f947a9c30e7f67ba761404e040de582ea8d1
authorCarlos R. Mafra <crmafra@gmail.com>
Sun, 15 Jan 2012 02:47:20 +0000 (15 02:47 +0000)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 15 Jan 2012 04:12:14 +0000 (15 04:12 +0000)
tree63f8e77d7977848399ce36d424ee041d4961c78f
parentac8a493ed99411e0a6c2860e122e6fc44ab9dd94
wmgenmenu: Fix "Save Theme"

Dario Niedermann reported on 27.11.2011:

       Selecting "Save Theme" from WMaker's root menu results in dialog box
       asking for theme name, but then nothing is saved.

       This feature used to work in 0.92.0.

and the reason for it (if he uses a WMRootMenu generated by wmgenmenu) is
the incorrect use of the option "-t" instead of "-p" to getstyle.

Furthermore, let the invocation of getstyle reflect the new default location
for the themes.
util/wmgenmenu.c