Re: FVWM: Conditionally adding menu items

From: Uwe Pross <keinFruehstuecksfleisch_at_gmx.net>
Date: Fri, 26 Mar 2004 09:41:53 +0100

Hi there,

On 26 Mar 2004 at 18:34:53 +1100, Scott Smedley wrote:

> Is there a better way (less code?) of conditionally adding
> menu items to a menu than this?

Currently I use:

...
PipeRead "test -x /opt/mozilla-sc-1.5/mozilla/mozilla && echo '+ \"Mozilla %mini.mozilla.xpm%\" Function FuncStartProgram /opt/mozilla-sc-1.5/mozilla/mozilla'"
...

which is quite ugly but does not need a preprocessor.

Since this is a very common problem it would be nice if this
would be part of the fvwm configuration language.

Cheers, Uwe
-- 
  ,_,   For personal reply/mail put "fvwm"
 (O,O)  in the subject.
 (   )  Otherwise your mail is discarded by a filter.
=-"-"-= http://www.tu-chemnitz.de/~uwp
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Mar 26 2004 - 02:44:16 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST