Fix session-open after selecting new, template, then back
[ardour.git] / gtk2_ardour / missing_plugin_dialog.cc
index 1e216c349f245f6ccb6e718d4a701b8972d5ecb8..98842b5b723864c3965ef0fb64ed22d12dd4988c 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <gtkmm/label.h>
 #include "missing_plugin_dialog.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace Gtk;
 using namespace std;
@@ -26,15 +26,15 @@ using namespace ARDOUR;
 using namespace PBD;
 
 MissingPluginDialog::MissingPluginDialog (Session * s, list<string> const & plugins)
-        : ArdourDialog (_("Missing Plugins"), true, false)
+       : ArdourDialog (_("Missing Plugins"), true, false)
 {
        /* This dialog is always shown programatically. Center the window.*/
        set_position (Gtk::WIN_POS_CENTER);
 
        set_session (s);
 
-        add_button (_("OK"), RESPONSE_OK);
-        set_default_response (RESPONSE_OK);
+       add_button (_("OK"), RESPONSE_OK);
+       set_default_response (RESPONSE_OK);
 
        Label* m = manage (new Label);
 
@@ -49,8 +49,8 @@ MissingPluginDialog::MissingPluginDialog (Session * s, list<string> const & plug
               "It is recommended that you install the missing plugins and re-load the session.\n"
               "(also check the blacklist, Window > Log and Preferences > Plugins)");
 
-        m->set_markup (t.str ());
-        get_vbox()->pack_start (*m, false, false);
+       m->set_markup (t.str ());
+       get_vbox()->pack_start (*m, false, false);
 
        show_all ();
 }