+ PluginManager::instance().save_plugin_order_file( plugin_order );
+}
+
+XMLNode&
+Mixer_UI::get_state ()
+{
+ XMLNode* node = new XMLNode (X_("Mixer"));
+
+ node->add_child_nocopy (Tabbable::get_state());
+
+ node->set_property (X_("mixer-rhs-pane1-pos"), rhs_pane1.get_divider());
+ node->set_property (X_("mixer-rhs_pane2-pos"), rhs_pane2.get_divider());
+ node->set_property (X_("mixer-list-hpane-pos"), list_hpane.get_divider());
+ node->set_property (X_("mixer-inner-pane-pos"), inner_pane.get_divider());
+
+ node->set_property ("narrow-strips", (_strip_width == Narrow));
+ node->set_property ("show-mixer", _visible);
+ node->set_property ("maximised", _maximised);
+
+ Glib::RefPtr<ToggleAction> act = ActionManager::get_toggle_action ("Mixer", "ToggleMixerList");
+ node->set_property ("show-mixer-list", act->get_active ());
+
+ act = ActionManager::get_toggle_action ("Mixer", "ToggleMonitorSection");
+ node->set_property ("monitor-section-visible", act->get_active ());
+
+ act = ActionManager::get_toggle_action ("Mixer", "ToggleVCAPane");
+ node->set_property ("show-vca-pane", act->get_active ());
+
+#ifdef MIXBUS
+ act = ActionManager::get_toggle_action ("Mixer", "ToggleMixbusPane");
+ node->set_property ("show-mixbus-pane", act->get_active ());
+#endif