#include "i18n.h"
using namespace Gtk;
+using namespace Gtkmm2ext;
using namespace ARDOUR;
TempoDialog::TempoDialog (TempoMap& map, jack_nframes_t frame, string action)
bpb_entry.select_region (0, -1);
Gtkmm2ext::set_size_request_to_display_given_text (bpb_entry, "999999g", 5, 5);
+ vector<string> strings;
strings.push_back (_("whole (1)"));
strings.push_back (_("second (2)"));
for (i = strings.begin(); i != strings.end(); ++i) {
if (text == *i) {
if (sscanf (text.c_str(), "%*[^0-9]%lf", ¬e_type) != 1) {
- error << compose(_("garbaged note type entry (%1)"), text) << endmsg;
+ error << string_compose(_("garbaged note type entry (%1)"), text) << endmsg;
return 0;
} else {
break;
if (i == strings.end()) {
if (sscanf (text.c_str(), "%lf", ¬e_type) != 1) {
- error << compose(_("incomprehensible note type entry (%1)"), text) << endmsg;
+ error << string_compose(_("incomprehensible note type entry (%1)"), text) << endmsg;
return 0;
}
}