'Return options menu'

def get_options_menu(self):

    env_action = create_action(self, _('Show    environment    variables'), icon=ima.icon('environ'), triggered=self.shellwidget.get_env)
    syspath_action = create_action(self, _('Show    sys.path    contents'), icon=ima.icon('syspath'), triggered=self.shellwidget.get_syspath)
    additional_actions = [MENU_SEPARATOR, env_action, syspath_action]
    if (self.menu_actions is not None):
        return (self.menu_actions + additional_actions)
    else:
        return additional_actions
