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.
Signed-off-by: Carlos R. Mafra <[email protected]>
---
util/wmgenmenu.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/util/wmgenmenu.c b/util/wmgenmenu.c
index f934b38..002e025 100644
--- a/util/wmgenmenu.c
+++ b/util/wmgenmenu.c
@@ -243,8 +243,7 @@ int main(int argc, char *argv[])
L2Menu = WMCreatePLArray(
WMCreatePLString(_("Save Theme")),
WMCreatePLString("SHEXEC"),
- WMCreatePLString("getstyle -t
$HOME/GNUstep/Library/WindowMaker/Themes/"
- "\"%a(Theme name, Name to save theme as)\""),
+ WMCreatePLString("getstyle -p \"%a(Theme name, Name to save
theme as)\""),
NULL
);
WMAddToPLArray(L1Menu, L2Menu);
--
1.7.3.4
--
To unsubscribe, send mail to [email protected].