summaryrefslogtreecommitdiff
path: root/gst-mixer-applet
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-05-11 22:48:47 +0200
committerStefano Karapetsas <[email protected]>2013-05-11 22:48:47 +0200
commit7418b30d4e11f78cdb58c6d8afa67c5ddbb2f0d5 (patch)
treeec406842aa445d3ffb192dd8a6a7ef391d7e3152 /gst-mixer-applet
parentf5cd015d023c54b7bba955f0bdd786640d3224da (diff)
downloadmate-media-7418b30d4e11f78cdb58c6d8afa67c5ddbb2f0d5.tar.bz2
mate-media-7418b30d4e11f78cdb58c6d8afa67c5ddbb2f0d5.tar.xz
gstreamer: Middle click on applet toggles mute state
Diffstat (limited to 'gst-mixer-applet')
-rw-r--r--gst-mixer-applet/applet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-mixer-applet/applet.c b/gst-mixer-applet/applet.c
index 9ad53bb..1a511ed 100644
--- a/gst-mixer-applet/applet.c
+++ b/gst-mixer-applet/applet.c
@@ -827,7 +827,9 @@ mate_volume_applet_button (GtkWidget *widget,
break;
}
break;
- case 2: /* move */
+ case 2: /* mute */
+ mate_volume_applet_toggle_mute (applet);
+ return TRUE;
case 3: /* menu */
if (applet->pop) {
mate_volume_applet_popdown_dock (applet);