From 7b3083df574d15941449ae8532fef472aedc1ae6 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 17 Jun 2009 23:23:04 +0100 Subject: 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 --- src/streamwidget.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/streamwidget.h') 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; -- cgit