switch all action registration/binding code over to new API.

This removes the ability to change bindings via menus.

Still to come: saving modified bindings, and reworking the key editor
This commit is contained in:
Paul Davis 2015-08-01 23:40:55 -04:00
parent d0fc12bd22
commit a13a8da8ac
18 changed files with 586 additions and 698 deletions

View file

@ -68,8 +68,8 @@ Manager::register_window (ProxyBase* info)
ActionManager::add_action_group (window_actions);
}
info->set_action (ActionManager::register_action (window_actions, info->action_name().c_str(), info->menu_name().c_str(),
sigc::bind (sigc::mem_fun (*this, &Manager::toggle_window), info)));
// info->set_action (ActionManager::register_action (window_actions, info->action_name().c_str(), info->menu_name().c_str(),
// sigc::bind (sigc::mem_fun (*this, &Manager::toggle_window), info)));
}
}