Fix generic plugin UI for plugins with only properties
[ardour.git] / gtk2_ardour / public_editor.cc
index 399c71caa9e0b256044eacc1f34c0ffcee1b446d..6ac0ba358b9bc116ff020e9d90f210ca858c7f26 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2000-2007 Paul Davis 
+    Copyright (C) 2000-2007 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -18,7 +18,8 @@
 */
 
 #include "public_editor.h"
-#include "editor.h"
+
+#include "pbd/i18n.h"
 
 PublicEditor* PublicEditor::_instance = 0;
 
@@ -27,8 +28,11 @@ const int PublicEditor::container_border_width = 12;
 const int PublicEditor::vertical_spacing = 6;
 const int PublicEditor::horizontal_spacing = 6;
 
-PublicEditor::PublicEditor ()
-       : Window (Gtk::WINDOW_TOPLEVEL)
+sigc::signal<void> PublicEditor::DropDownKeys;
+
+PublicEditor::PublicEditor (Gtk::Widget& content)
+       : Tabbable (content, _("Editor"))
+       , _suspend_route_redisplay_counter (0)
 {
 }