Re: FVWM: Conditionally adding menu items

2004-03-26 Thread Uwe Pross
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

Re: FVWM: Conditionally adding menu items

2004-03-26 Thread Tavis Ormandy
--On Friday, March 26, 2004 10:54:34 +0100 Uwe Pross [EMAIL PROTECTED] wrote: Hi there, On 26 Mar 2004 at 09:33:36 +, Tavis Ormandy wrote: You could make it more generic, AddToFunc CondAdd I Test (f $0) AddToMenu $1 %$2%$3 Exec $0 ... CondAdd /usr/bin/mozilla Programs

Re: FVWM: Conditionally adding menu items

2004-03-26 Thread Remko Troncon
have something like pointing a menu to a directory in which all programs/items to be shown or hidden are stored as links or something similar. If you have the luck to be running Debian, you can add a menuitem: .. + Debian Popup /Debian .. This menu will contain all installed

Re: FVWM: Conditionally adding menu items

2004-03-26 Thread Scott Smedley
Hi Tavis, AddToFunc CondAdd I Test (f $0) AddToMenu $1 %$2%$3 Exec $0 Then you just need to CondAdd /usr/bin/mozilla Programs mozilla.xpm Mozilla CondAdd /usr/bin/netscape Programs netscape.xpm Netscape CondAdd /usr/X11R6/bin/xterm Programs xterm.xpm Terminal This works great!

Re: FVWM: Conditionally adding menu items

2004-03-26 Thread F. Kater
Remko Troncon: If you have the luck to be running Debian, you can add a menuitem: .. + Debian Popup /Debian That's great but I am running gentoo. I wonder however why this would work only on Debian? Could you explain what Debian does to provide its menus so easily and how this

Re: FVWM: Conditionally adding menu items

2004-03-26 Thread Thomas Adam
--- F. Kater [EMAIL PROTECTED] wrote: That's great but I am running gentoo. I wonder however why this would work only on Debian? Could you explain what Debian does to provide its menus so easily and how this tecnique is integrated into fvwm? Debian has a menu package called 'menu', whereby

Re: FVWM: Conditionally adding menu items

2004-03-26 Thread Remko Troncon
That's great but I am running gentoo. I wonder however why this would work only on Debian? Could you explain what Debian does to provide its menus so easily and how this tecnique is integrated into fvwm? Debian packages normally contain a file describing what type of application it is

FVWM: Disallowed attachment type nalezeno v p�ijat�m mailu Re: Extended Mail System

2004-03-26 Thread System Anti-Virus Administrator
Pozor!: fvwm@hpc.uh.edu V dopise, který jste poslal, byl nalezen Disallowed attachment type. Antivirový program jej zadr¾el a zastavil jeho dal¹í doruèování na místo urèení. Disallowed attachment type byl popsán jako: PIF files not allowed per Company security policy Prosím kontaktujte

Re: FVWM: Conditionally adding menu items

2004-03-26 Thread Remko Troncon
menu structure. I personally find it a real pain in the bum, and much prefer writing my own dynamic menus (mine are implemented with ruby). It's not really a pain in the bum, as you don't have to do anything about it to use it. Besides, they're not really dynamic, so it doesn't cost extra time

Re: FVWM: Conditionally adding menu items

2004-03-26 Thread Thomas Adam
--- Remko Troncon [EMAIL PROTECTED] wrote: menu structure. I personally find it a real pain in the bum, and much prefer writing my own dynamic menus (mine are implemented with ruby). It's not really a pain in the bum, as you don't have to do anything about it to use it. Besides, they're

Re: FVWM: Conditionally adding menu items

2004-03-26 Thread Mikhael Goikhman
On 26 Mar 2004 22:49:39 +1100, Scott Smedley wrote: AddToFunc CondAdd I Test (f $0) AddToMenu $1 %$2%$3 Exec $0 Then you just need to CondAdd /usr/bin/mozilla Programs mozilla.xpm Mozilla CondAdd /usr/bin/netscape Programs netscape.xpm Netscape CondAdd /usr/X11R6/bin/xterm