X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fpublic_editor.cc;h=6ac0ba358b9bc116ff020e9d90f210ca858c7f26;hb=6b1b72a247bf04c81292fc41af4f69c9b7f90379;hp=6c5d528e1e9aad86d84496496955def2b5bc5c7f;hpb=bebe2af95ad9999fdca719450dc2c70cfb849076;p=ardour.git diff --git a/gtk2_ardour/public_editor.cc b/gtk2_ardour/public_editor.cc index 6c5d528e1e..6ac0ba358b 100644 --- a/gtk2_ardour/public_editor.cc +++ b/gtk2_ardour/public_editor.cc @@ -19,6 +19,8 @@ #include "public_editor.h" +#include "pbd/i18n.h" + PublicEditor* PublicEditor::_instance = 0; const int PublicEditor::window_border_width = 12; @@ -28,9 +30,9 @@ const int PublicEditor::horizontal_spacing = 6; sigc::signal PublicEditor::DropDownKeys; -PublicEditor::PublicEditor () - : Window (Gtk::WINDOW_TOPLEVEL) - , VisibilityTracker (*((Gtk::Window*)this)) +PublicEditor::PublicEditor (Gtk::Widget& content) + : Tabbable (content, _("Editor")) + , _suspend_route_redisplay_counter (0) { }