                 indent = ''
             obj = @props.actions._commands?[name]
             if not obj?
-                return <MenuItem key={key}>{indent} {display ? name} (not implemented)</MenuItem>
+                return <MenuItem disabled={disabled} key={key}>{indent} {display ? name} (not implemented)</MenuItem>
 
             shortcut = obj.k?[0]
             if shortcut?
-                s = <span  className='pull-right'><KeyboardShortcut shortcut={shortcut} /></span>
+                s = <span className='pull-right'><KeyboardShortcut shortcut={shortcut} /></span>
             else
                 s = <span/>
 
             <MenuItem
                 key      = {key}
                 onSelect = {@command(name)}
+                disabled = {disabled}
                 >
                 {indent} {display ? obj.m ? name} {s}
             </MenuItem>

            ]

    render_edit: ->
        @render_menu
            heading : 'Edit'
            names   : \

            if typeof(name) != 'string'
                return name  # it's already a MenuItem
            if name[0] == '<'
                disabled = true
                name = name.slice(1)
            else
                disabled = false

            if name[0] == '>'
                indent = <span style={marginLeft:'4ex'}/>
