#include "editor_locations.h"
#include "location_ui.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace ARDOUR;
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);
}
}
Widget&
-EditorLocations::widget()
+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);
+}