Optimize automation-event process splitting
[ardour.git] / gtk2_ardour / public_editor.cc
index dc468e4a83e237f05c7837a7d3b0d3224a7113e9..6ac0ba358b9bc116ff020e9d90f210ca858c7f26 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "public_editor.h"
 
+#include "pbd/i18n.h"
+
 PublicEditor* PublicEditor::_instance = 0;
 
 const int PublicEditor::window_border_width = 12;
@@ -28,8 +30,9 @@ const int PublicEditor::horizontal_spacing = 6;
 
 sigc::signal<void> PublicEditor::DropDownKeys;
 
-PublicEditor::PublicEditor ()
-       : Window (Gtk::WINDOW_TOPLEVEL)
+PublicEditor::PublicEditor (Gtk::Widget& content)
+       : Tabbable (content, _("Editor"))
+       , _suspend_route_redisplay_counter (0)
 {
 }