/* just rebuild the while thing */
- edit_group_display.set_model (Glib::RefPtr<TreeModel>(0));
group_model->clear ();
{
}
session->foreach_edit_group (mem_fun (*this, &Editor::add_edit_group));
- edit_group_display.set_model (group_model);
}
void
/* just rebuild the while thing */
- group_display.set_model (Glib::RefPtr<TreeModel>(0));
group_model->clear ();
{
}
session->foreach_mix_group (mem_fun (*this, &Mixer_UI::add_mix_group));
- group_display.set_model (group_model);
}
-
void
Mixer_UI::new_mix_group ()
{
-#if 0
- ArdourPrompter prompter;
- string result;
-
- prompter.set_prompt (_("Name for new mix group"));
- prompter.show_all ();
-
- switch (prompter.run ()) {
- case Gtk::RESPONSE_ACCEPT:
- prompter.get_result (result);
- if (result.length()) {
- session->add_mix_group (result);
- }
- break;
- }
-#else
session->add_mix_group ("");
-#endif
-
}
void
}
}
- if ((prop = node.property ("_flags")) != 0) {
- _flags = atoi (prop->value().c_str());
+ if ((prop = node.property ("flags")) != 0) {
+ _flags = strtol (prop->value().c_str(), 0, 0);
}
if ((prop = node.property ("channels")) != 0) {