summaryrefslogtreecommitdiffstats
path: root/src/streamwidget.h
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.h
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.h')
-rw-r--r--src/streamwidget.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/streamwidget.h b/src/streamwidget.h
index c11d993..7fe13ee 100644
--- a/src/streamwidget.h
+++ b/src/streamwidget.h
@@ -37,8 +37,7 @@ public:
Gtk::ToggleButton *lockToggleButton, *muteToggleButton;
Gtk::Label *directionLabel;
- Gtk::EventBox *deviceButton;
- Gtk::Label *deviceLabel;
+ Gtk::Button *deviceButton;
pa_channel_map channelMap;
pa_cvolume volume;
@@ -46,7 +45,7 @@ public:
ChannelWidget *channelWidgets[PA_CHANNELS_MAX];
virtual void onMuteToggleButton();
- virtual bool onDeviceChangePopup(GdkEventButton*);
+ virtual void onDeviceChangePopup();
virtual bool onWidgetButtonEvent(GdkEventButton*);
sigc::connection timeoutConnection;