31 edit_button (
Gtk::Stock::EDIT),
32 remove_button (
Gtk::Stock::REMOVE),
33 new_button (
Gtk::Stock::NEW)
68 SessionHandlePtr::set_session (session_);
81 if (
state->list->empty()) {
90 Gtk::ListStore::iterator tree_it;
92 for (FormatList::const_iterator it =
state->list->begin(); it !=
state->list->end(); ++it) {
108 Gtk::TreeModel::Children::iterator it;
126 if (
state->list->empty()) {
135 if (called_from_button) {
136 Gtk::MessageDialog dialog (
_(
"Do you really want to remove the format?"),
138 Gtk::MESSAGE_QUESTION,
139 Gtk::BUTTONS_YES_NO);
141 if (Gtk::RESPONSE_YES != dialog.run ()) {
150 Gtk::TreeModel::iterator it =
format_combo.get_active();
161 Gtk::ResponseType response = (Gtk::ResponseType) dialog.run();
162 if (response == Gtk::RESPONSE_APPLY) {
173 Gtk::TreeModel::iterator it =
format_combo.get_active();
ARDOUR::Session * _session