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
--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
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
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!
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
--- 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
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
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
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
--- 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
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
11 matches
Mail list logo