re-add AU cache/blacklist management (was lost in 964b8a98)
authorRobin Gareus <robin@gareus.org>
Mon, 21 Dec 2015 13:36:54 +0000 (14:36 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 21 Dec 2015 13:38:51 +0000 (14:38 +0100)
gtk2_ardour/rc_option_editor.cc

index 3d26e68f08d54b00e5dd93378cf1562f8d596a80..c712b6a864f24cd3a100d6483235675f05acc91b 100644 (file)
@@ -2816,6 +2816,16 @@ if (!Profile->get_mixbus()) {
        add_option (_("Plugins"), bo);
        Gtkmm2ext::UI::instance()->set_tip (bo->tip_widget(),
                                            _("<b>When enabled</b> Audio Unit Plugins are discovered on application start. When disabled AU plugins will only be available after triggering a 'Scan' manually. The first successful scan will enable AU auto-scan, Any crash during plugin discovery will disable it."));
+
+       add_option (_("Plugins"),
+                       new RcActionButton (_("Clear"),
+                               sigc::mem_fun (*this, &RCOptionEditor::clear_au_cache),
+                               _("AU Cache:")));
+
+       add_option (_("Plugins"),
+                       new RcActionButton (_("Clear"),
+                               sigc::mem_fun (*this, &RCOptionEditor::clear_au_blacklist),
+                               _("AU Blacklist:")));
 #endif
 
 #if (defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT || defined AUDIOUNIT_SUPPORT || defined HAVE_LV2)