summaryrefslogtreecommitdiffstats
path: root/src/streamwidget.cc
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-06-17 23:23:04 +0100
committerColin Guthrie <cguthrie@mandriva.org>2009-06-17 23:23:04 +0100
commit7b3083df574d15941449ae8532fef472aedc1ae6 (patch)
tree7d55ff52585102f66520890a3f13c89cf4c105f5 /src/streamwidget.cc
parent514a66e0c8570f9706bcfcf93cec124094931b6e (diff)
Don't use a hyperlink to display the device, just use a regular button.
I'm not super happy with this style but it's probably more reliable
Diffstat (limited to 'src/streamwidget.cc')
-rw-r--r--src/streamwidget.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/streamwidget.cc b/src/streamwidget.cc
index 256e56a..2b47f1b 100644
--- a/src/streamwidget.cc
+++ b/src/streamwidget.cc
@@ -33,11 +33,10 @@ StreamWidget::StreamWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Gl
x->get_widget("muteToggleButton", muteToggleButton);
x->get_widget("directionLabel", directionLabel);
x->get_widget("deviceButton", deviceButton);
- x->get_widget("deviceLabel", deviceLabel);
this->signal_button_press_event().connect(sigc::mem_fun(*this, &StreamWidget::onWidgetButtonEvent));
muteToggleButton->signal_clicked().connect(sigc::mem_fun(*this, &StreamWidget::onMuteToggleButton));
- deviceButton->signal_button_press_event().connect(sigc::mem_fun(*this, &StreamWidget::onDeviceChangePopup));
+ deviceButton->signal_clicked().connect(sigc::mem_fun(*this, &StreamWidget::onDeviceChangePopup));
for (unsigned i = 0; i < PA_CHANNELS_MAX; i++)
channelWidgets[i] = NULL;
@@ -110,6 +109,5 @@ bool StreamWidget::timeoutEvent() {
void StreamWidget::executeVolumeUpdate() {
}
-bool StreamWidget::onDeviceChangePopup(GdkEventButton*) {
- return false;
+void StreamWidget::onDeviceChangePopup() {
}