summaryrefslogtreecommitdiffstats
path: root/gnome-applets-2.16.1-mixer-mute.patch
blob: 3cc8d619710261bb11e27491221273b35b2cd5a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- gnome-applets-2.16.1/mixer/applet.c.mixer-mute	2006-11-16 09:59:46.000000000 -0500
+++ gnome-applets-2.16.1/mixer/applet.c	2006-11-16 12:11:22.000000000 -0500
@@ -1098,7 +1098,11 @@
   applet->force_next_update = FALSE;
 
   if (did_change) {
-    pixbuf = applet->pix[n];
+    if (mute) {
+      pixbuf = applet->pix[0];
+    } else {
+      pixbuf = applet->pix[n];
+    }
 
     gtk_image_set_from_pixbuf (applet->image, pixbuf);
     applet->state = STATE (volume, mute);