Fix generic plugin UI for plugins with only properties
[ardour.git] / gtk2_ardour / public_editor.cc
index d4cfa1fb1f4cfe5055c2843f2a8ad9a4614753a6..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
 */
 
 #include "public_editor.h"
-#include "editor.h"
+
+#include "pbd/i18n.h"
 
 PublicEditor* PublicEditor::_instance = 0;
 
-PublicEditor::PublicEditor ()
-       : Window (Gtk::WINDOW_TOPLEVEL)
+const int PublicEditor::window_border_width = 12;
+const int PublicEditor::container_border_width = 12;
+const int PublicEditor::vertical_spacing = 6;
+const int PublicEditor::horizontal_spacing = 6;
+
+sigc::signal<void> PublicEditor::DropDownKeys;
+
+PublicEditor::PublicEditor (Gtk::Widget& content)
+       : Tabbable (content, _("Editor"))
+       , _suspend_route_redisplay_counter (0)
 {
 }