+ _name.signal_activate ().connect (sigc::bind (sigc::mem_fun (*this, &Dialog::response), RESPONSE_OK));
+
+ _gain.set_active (_group->is_gain());
+ _relative.set_active (_group->is_relative());
+ _mute.set_active (_group->is_mute());
+ _solo.set_active (_group->is_solo());
+ _rec_enable.set_active (_group->is_recenable());
+ _select.set_active (_group->is_select());
+ _edit.set_active (_group->is_edit());
+
+ gain_toggled ();
+
+ Table* table = manage (new Table (8, 3, false));
+ table->set_row_spacings (6);
+
+ l = manage (new Label ("", Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
+ l->set_padding (8, 0);
+ table->attach (*l, 0, 1, 0, 8, Gtk::FILL, Gtk::FILL, 0, 0);
+
+ table->attach (_active, 1, 3, 0, 1, Gtk::FILL, Gtk::FILL, 0, 0);
+ table->attach (_gain, 1, 3, 1, 2, Gtk::FILL, Gtk::FILL, 0, 0);
+
+ l = manage (new Label ("", Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
+ l->set_padding (0, 0);
+ table->attach (*l, 1, 2, 2, 3, Gtk::FILL, Gtk::FILL, 0, 0);
+ table->attach (_relative, 2, 3, 2, 3, Gtk::FILL, Gtk::FILL, 0, 0);
+
+ table->attach (_mute, 1, 3, 3, 4, Gtk::FILL, Gtk::FILL, 0, 0);
+ table->attach (_solo, 1, 3, 4, 5, Gtk::FILL, Gtk::FILL, 0, 0);
+ table->attach (_rec_enable, 1, 3, 5, 6, Gtk::FILL, Gtk::FILL, 0, 0);
+ table->attach (_select, 1, 3, 6, 7, Gtk::FILL, Gtk::FILL, 0, 0);
+ table->attach (_edit, 1, 3, 7, 8, Gtk::FILL, Gtk::FILL, 0, 0);
+
+ options_box->pack_start (*table, false, true);
+ vbox->pack_start (*options_box, false, true);
+
+ get_vbox()->pack_start (*vbox, false, false);
+
+ _gain.signal_toggled().connect(sigc::mem_fun (*this, &RouteGroupDialog::gain_toggled));