summaryrefslogtreecommitdiffstats
path: root/src/devicewidget.h
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-03-16 23:18:40 +0000
committerColin Guthrie <cguthrie@mandriva.org>2009-06-17 08:54:12 +0100
commit4c3acd35e5d406846c6f9d0596ce4f834e373bd8 (patch)
treeb7d16ccd567b37b6eb7b8c2f0b6f6b508d5050ba /src/devicewidget.h
parentfab8d8d5246b96799b6722a92798498ddc499213 (diff)
Wire up the default toggle button (replaces the old menu)
Diffstat (limited to 'src/devicewidget.h')
-rw-r--r--src/devicewidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devicewidget.h b/src/devicewidget.h
index ce3c55f..fcf4e91 100644
--- a/src/devicewidget.h
+++ b/src/devicewidget.h
@@ -35,7 +35,7 @@ public:
void setVolume(const pa_cvolume &volume, bool force = false);
virtual void updateChannelVolume(int channel, pa_volume_t v);
- Gtk::ToggleButton *lockToggleButton, *muteToggleButton;
+ Gtk::ToggleButton *lockToggleButton, *muteToggleButton, *defaultToggleButton;
pa_channel_map channelMap;
pa_cvolume volume;
@@ -43,6 +43,7 @@ public:
ChannelWidget *channelWidgets[PA_CHANNELS_MAX];
virtual void onMuteToggleButton();
+ virtual void onDefaultToggleButton();
sigc::connection timeoutConnection;