13
0

fully remove per-processor activate/deactivate from processor box (sorry carl :)

git-svn-id: svn://localhost/ardour2/branches/3.0@6200 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2009-11-28 01:57:26 +00:00
parent 2e8d37776e
commit 1a2ced7a4a
3 changed files with 0 additions and 33 deletions

View File

@ -474,9 +474,6 @@
<menuitem action='selectall'/>
<menuitem action='deselectall'/>
<separator/>
<menuitem action='activate'/>
<menuitem action='deactivate'/>
<separator/>
<menuitem action='activate_all'/>
<menuitem action='deactivate_all'/>
<separator/>

View File

@ -1560,12 +1560,6 @@ ProcessorBox::register_actions ()
/* activation */
act = ActionManager::register_action (popup_act_grp, X_("activate"), _("Activate"),
sigc::ptr_fun (ProcessorBox::rb_activate));
ActionManager::plugin_selection_sensitive_actions.push_back(act);
act = ActionManager::register_action (popup_act_grp, X_("deactivate"), _("Deactivate"),
sigc::ptr_fun (ProcessorBox::rb_deactivate));
ActionManager::plugin_selection_sensitive_actions.push_back(act);
ActionManager::register_action (popup_act_grp, X_("activate_all"), _("Activate all"),
sigc::ptr_fun (ProcessorBox::rb_activate_all));
@ -1726,28 +1720,6 @@ ProcessorBox::rb_deselect_all ()
_current_processor_box->deselect_all_processors ();
}
void
ProcessorBox::rb_activate ()
{
if (_current_processor_box == 0) {
return;
}
_current_processor_box->for_selected_processors (&ProcessorBox::activate_processor);
}
void
ProcessorBox::rb_deactivate ()
{
if (_current_processor_box == 0) {
return;
}
_current_processor_box->for_selected_processors (&ProcessorBox::deactivate_processor);
}
void
ProcessorBox::rb_activate_all ()
{

View File

@ -261,8 +261,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject
static void rb_select_all ();
static void rb_deselect_all ();
static void rb_activate_all ();
static void rb_deactivate ();
static void rb_activate ();
static void rb_deactivate_all ();
static void rb_ab_plugins ();
static void rb_edit ();