diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-17 22:25:19 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-17 22:25:19 +0100 |
commit | 7a7c1fc7f2a94fea91c66e9be35e8d6d81c0c7fe (patch) | |
tree | f8dd5ef70300062de48612c17d37b8214ad11275 /src/streamwidget.h | |
parent | 02b316fcba8a112e528a0bddfcb93cf6f3179168 (diff) |
Hide the terminate button.
The terminate button is a last resort and shouldn't be promoted in the UI.
This commit hides it behind a right click menu instead.
This also hides the 'Set as Fallback' label in the glade file.
Diffstat (limited to 'src/streamwidget.h')
-rw-r--r-- | src/streamwidget.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/streamwidget.h b/src/streamwidget.h index 48e3fd6..c11d993 100644 --- a/src/streamwidget.h +++ b/src/streamwidget.h @@ -36,7 +36,6 @@ public: virtual void updateChannelVolume(int channel, pa_volume_t v); Gtk::ToggleButton *lockToggleButton, *muteToggleButton; - Gtk::Button *terminateButton; Gtk::Label *directionLabel; Gtk::EventBox *deviceButton; Gtk::Label *deviceLabel; @@ -48,7 +47,7 @@ public: virtual void onMuteToggleButton(); virtual bool onDeviceChangePopup(GdkEventButton*); - virtual void onKill(); + virtual bool onWidgetButtonEvent(GdkEventButton*); sigc::connection timeoutConnection; |