On Thu, 02 Feb 2012 10:46:05 +0100, Paul Seelig wrote: ...
("Save Theme", EXEC, "getstyle -t > ~/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),* redirects into a file and additionall creates a record of used themenames in the ~/GNUstep/.AppInfo/WindowMaker/History.Themes file: ("Save Theme", EXEC, "getstyle -t > ~/GNUstep/Library/WindowMaker/Themes/\"%A(Theme name,Enter a descriptive theme name:,Themes)\""),I am preferring and using the latter way, as it saves formerly created file names without adding any IMHO superfluous suffix like e.g. -p does.
I don't like these ways. The ">" redirector overwrites the theme if already exists. Probably is better create a new option in getstyle to save the theme. Then getstyle can test if the theme exists and request a confirmation to overwrite to the user.
kix. -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/ -- To unsubscribe, send mail to [email protected].
