along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#include <map>
io->output_changed.connect (mem_fun(*this, &IOSelector::ports_changed));
}
+ set_button_sensitivity ();
+
io->name_changed.connect (mem_fun(*this, &IOSelector::name_changed));
}
really_short_name = port->short_name();
really_short_name = really_short_name.substr (really_short_name.find ('/') + 1);
-
+
tview = manage (new TreeView());
RefPtr<ListStore> port_model = ListStore::create (port_display_columns);
/* now fill the clist with the current connections */
-
const char **connections = port->get_connections ();
if (connections) {
row[port_display_columns.displayed_name] = connections[c];
row[port_display_columns.full_name] = connections[c];
}
- }
+ }
if (for_input) {
}
catch (AudioEngine::PortRegistrationFailure& err) {
- MessageDialog msg (0, _("There are no more JACK ports available."));
+ MessageDialog msg (_("There are no more JACK ports available."));
msg.run ();
}
}
catch (AudioEngine::PortRegistrationFailure& err) {
- MessageDialog msg (0, _("There are no more JACK ports available."));
+ MessageDialog msg (_("There are no more JACK ports available."));
msg.run ();
}
}
rescan_button.signal_clicked().connect (mem_fun(*this, &PortInsertWindow::rescan));
signal_delete_event().connect (bind (sigc::ptr_fun (just_hide_it), reinterpret_cast<Window *> (this)));
- pi->GoingAway.connect (mem_fun(*this, &PortInsertWindow::plugin_going_away));
+
+ going_away_connection = pi->GoingAway.connect (mem_fun(*this, &PortInsertWindow::plugin_going_away));
}
void
PortInsertWindow::plugin_going_away ()
{
ENSURE_GUI_THREAD(mem_fun(*this, &PortInsertWindow::plugin_going_away));
-
+ going_away_connection.disconnect ();
delete_when_idle (this);
}