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 + "@menu/[EMAIL PROTECTED]" Exec ssh ...
  + I + "@menu/[EMAIL PROTECTED]" 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
[EMAIL PROTECTED]


--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to