summaryrefslogtreecommitdiffstats
path: root/src/streamwidget.cc
diff options
context:
space:
mode:
authorColin Guthrie2009-03-16 21:28:40 +0100
committerColin Guthrie2009-06-17 09:54:11 +0200
commitee855937cc3e95537251490ab35018fcde6eab5c (patch)
treec204d387196d34ee605e07f31b0fee8c709ba3c4 /src/streamwidget.cc
parentSet the pack_start on the deviceCombo (diff)
downloadpavucontrol-slx-ee855937cc3e95537251490ab35018fcde6eab5c.tar.gz
pavucontrol-slx-ee855937cc3e95537251490ab35018fcde6eab5c.tar.xz
pavucontrol-slx-ee855937cc3e95537251490ab35018fcde6eab5c.zip
Wire up the terminate button
Diffstat (limited to 'src/streamwidget.cc')
-rw-r--r--src/streamwidget.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/streamwidget.cc b/src/streamwidget.cc
index 322308d..96eecb7 100644
--- a/src/streamwidget.cc
+++ b/src/streamwidget.cc
@@ -39,12 +39,16 @@ StreamWidget::StreamWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Gl
//deviceCombo->set_active(false);
//deviceCombo->signal_clicked().connect(sigc::mem_fun(*this, &MinimalStreamWidget::onDeviceChange));
+ terminateButton->signal_clicked().connect(sigc::mem_fun(*this, &StreamWidget::onKill));
muteToggleButton->signal_clicked().connect(sigc::mem_fun(*this, &StreamWidget::onMuteToggleButton));
for (unsigned i = 0; i < PA_CHANNELS_MAX; i++)
channelWidgets[i] = NULL;
}
+void StreamWidget::onKill() {
+}
+
void StreamWidget::setChannelMap(const pa_channel_map &m, bool can_decibel) {
channelMap = m;