Hello,
Mikhael Goikhman wrote:
> Unfortunately, it is currently impossible to alias menus.
>
> But you may do the following to avoid duplication:
>
> AddToFunc CreateRemoteShellsMenu
> + I DestroyMenu $0
> + I AddToMenu $0
> + I + "_at_menu/terminal-remote.xpm_at_rytas" Exec ssh ...
> + I + "_at_menu/terminal-remote.xpm_at_vakaras" Exec telnet ...
> + I + ...
>
> CreateRemoteShellsMenu RemoteShells
> CreateRemoteShellsMenu My3
This looks nice, but isn't really what I want in this situation.
Still, I'll use this if everything other fails :) Now I'm
thinking a little bit different way - name my menus not by
number, but by desktop names, so I can use menus like
'MenuRemote' elsewhere. And now I have another problem :) I have
DesktopName setup, and:
DestroyFunc DynMenu
AddToFunc DynMenu
+ I Popup Menu$$[desk.name$$d]
This doesn't work :( How can I mix variables (if I can), so
they'll give me the effect I want? It's strange, that with
single '$' I can have $[desk.name1] == Web and get menu popup,
but I can't do this dynamically..
P.S. Really nice lithuanian :)
Simas Cepaitis
snc_at_post.5ci.lt
--
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 Apr 11 2003 - 05:46:48 BST