On Sat, Nov 19, 2005 at 09:27:46PM +0100, Yann Dirson wrote: > > Do you think there are situations where install-menu could be smart > > enough to remove the menu without the need for removemenu ? > > There are quite a number of menu-methods specifying a fixed name for > "genmenu". Couldn't that be used to tell what needs to be removed ?
Good point I have implemented this suggestion. If there is no removemenu config options: 1) menu check if genmenu is a constant string. In that case: 1.1) it remove genmenu 1.2) if the config option rcfile is defined, it remove the rcfile. 1.3) it does a rmdir(prefix()), prefix being e.g. ~/.fvwm. of course this is a noop is prefix() is not empty. Else 2) It output a warning. This take care of all the wm but five, so I will just send patches for those 5. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]