summaryrefslogtreecommitdiffstats
path: root/src/rolewidget.cc
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-06-28 16:38:39 +0100
committerColin Guthrie <cguthrie@mandriva.org>2009-06-28 16:38:39 +0100
commitf1a23af603dfb250c10f8a4ec6a6f9acbd80d972 (patch)
tree09cf272b4870b6d33085d2d4b1d9b4ad3dd5aec3 /src/rolewidget.cc
parentac052e1a30d1aeb7c514f9dd4eb8e6fb50382185 (diff)
Restructure the class inheritance a bit.
This just shuffles around the streamwidget a bit. The RoleWidget child class is the exception, so try and gear things around SinkInput/SourceOutput widgets more to save repeating the same code too much.
Diffstat (limited to 'src/rolewidget.cc')
-rw-r--r--src/rolewidget.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rolewidget.cc b/src/rolewidget.cc
index 4da818f..31be005 100644
--- a/src/rolewidget.cc
+++ b/src/rolewidget.cc
@@ -43,6 +43,10 @@ RoleWidget* RoleWidget::create() {
return w;
}
+bool RoleWidget::onContextTriggerEvent(GdkEventButton*) {
+ return false;
+}
+
void RoleWidget::onMuteToggleButton() {
StreamWidget::onMuteToggleButton();