X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_locations.cc;h=328cb65cca101c76d94b97c0f7d5b03390e861c2;hb=4ddf97f5a2b505997935a1079f2fd9232c1f634e;hp=bbaf0daf7521de7741cff4f95dd8c395c0b1be1c;hpb=ed626628b54e67dd9621c08d82a42afaed00c7ac;p=ardour.git diff --git a/gtk2_ardour/editor_locations.cc b/gtk2_ardour/editor_locations.cc index bbaf0daf75..328cb65cca 100644 --- a/gtk2_ardour/editor_locations.cc +++ b/gtk2_ardour/editor_locations.cc @@ -20,7 +20,7 @@ #include "editor_locations.h" #include "location_ui.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace ARDOUR; using namespace Gtk; @@ -28,7 +28,7 @@ using namespace Gtk; EditorLocations::EditorLocations (Editor* e) : EditorComponent (e) { - _locations = new LocationUI; + _locations = new LocationUI (X_("EditorLocations")); _scroller.set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_NEVER); _scroller.add (*_locations); } @@ -45,3 +45,15 @@ EditorLocations::widget() { return _scroller; } + +XMLNode& +EditorLocations::get_state () const +{ + return _locations->get_state(); +} + +int +EditorLocations::set_state (const XMLNode& node) +{ + return _locations->set_state(node); +}