enthought/traitsui — pull request #128 by jwiggins (2013-09-18 21:57:55+00:00)
Title: Fix enabled_when for TabularAdapter context menus

Apparently, calling `menu.create_menu()` eventually results in `Editor.eval_when()` being called on all the items in the menu which is being constructed. This is unfortunate, as `_menu_context` is `None`, so menu items can't reference any of the useful variables that would normally be there.

Either that or I'm using `TabularAdapter` incorrectly...