summaryrefslogtreecommitdiffstats
path: root/src/streamwidget.cc
diff options
context:
space:
mode:
authorColin Guthrie2009-03-17 00:21:40 +0100
committerColin Guthrie2009-06-17 09:54:12 +0200
commit4bd94fa2b86fb8464829c806ae517db113924bd2 (patch)
tree2d7d0e6b9b80ea9a86c02d888fd228e2b10fc48f /src/streamwidget.cc
parentWire up the default toggle button (replaces the old menu) (diff)
downloadpavucontrol-slx-4bd94fa2b86fb8464829c806ae517db113924bd2.tar.gz
pavucontrol-slx-4bd94fa2b86fb8464829c806ae517db113924bd2.tar.xz
pavucontrol-slx-4bd94fa2b86fb8464829c806ae517db113924bd2.zip
Wire up all the new UI code.
This makes the default button work on sinks/sources, allows the drop down to actually change the sink/source and removes the old menu code. Some names and such are fixed in the glade file too.
Diffstat (limited to 'src/streamwidget.cc')
-rw-r--r--src/streamwidget.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/streamwidget.cc b/src/streamwidget.cc
index 43e4221..b7b23dc 100644
--- a/src/streamwidget.cc
+++ b/src/streamwidget.cc
@@ -27,7 +27,8 @@
/*** StreamWidget ***/
StreamWidget::StreamWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& x) :
- MinimalStreamWidget(cobject, x) {
+ MinimalStreamWidget(cobject, x),
+ mSuppressDeviceChange(false) {
x->get_widget("lockToggleButton", lockToggleButton);
x->get_widget("muteToggleButton", muteToggleButton);