Chris,

Here's a common sense solution: add a "reload menus" item to the 
root-menu. :-) Of course, this works because the reload itself is kicked off 
from within the thread that is in the same namespace as the original menus. I 
think this is the "right thing".

{ { "xterm"             [ "xterm &" system drop ] }
  { "Firefox"           [ "firefox &" system drop ] }
  { "xclock"            [ "xclock &" system drop ] }
...
  { "Reload menus"      [ root-menu reload ] }
} <wm-menu> >root-menu

You'll have to add USE: definitions to the factory-rc. And a problem is that 
if there's a problem when reloading, you won't get a notification. In that 
case you'll just have to screen -r to debug it.

It would be better for the menu item to be

{ "Reload factory-rc" [ factory-rc reload ] }

But I don't have anything in libs/vocabs to support reloading vocabularies by 
name.

Ed

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to