summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2006-11-16 17:13:09 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2006-11-16 17:13:09 +0000
commit6f48c81134a21ce1af4f924e19f1dea79a1aff4a (patch)
tree7d36618ee02f9f86671bf57ffcc29764b1b40a5d
parent23e23385930acc8ca26b17b4d8a40ad5040053c7 (diff)
downloadgnome-applets-6f48c81134a21ce1af4f924e19f1dea79a1aff4a.tar.gz
gnome-applets-6f48c81134a21ce1af4f924e19f1dea79a1aff4a.tar.xz
gnome-applets-6f48c81134a21ce1af4f924e19f1dea79a1aff4a.zip
fix muting
-rw-r--r--gnome-applets-2.16.1-mixer-mute.patch15
-rw-r--r--gnome-applets.spec10
2 files changed, 24 insertions, 1 deletions
diff --git a/gnome-applets-2.16.1-mixer-mute.patch b/gnome-applets-2.16.1-mixer-mute.patch
new file mode 100644
index 0000000..3cc8d61
--- /dev/null
+++ b/gnome-applets-2.16.1-mixer-mute.patch
@@ -0,0 +1,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);
diff --git a/gnome-applets.spec b/gnome-applets.spec
index 4831621..336aa68 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -33,7 +33,7 @@
Summary: Small applications for the GNOME panel
Name: gnome-applets
Version: 2.16.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Epoch: 1
License: GPL
Group: User Interface/Desktops
@@ -56,6 +56,9 @@ Patch19: keyboard-drawing-corner.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=353163
Patch20: keyboard-drawing-redraw.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=354986
+Patch22: gnome-applets-2.16.1-mixer-mute.patch
+
# http://bugzilla.gnome.org/show_bug.cgi?id=356536
Patch25: gnome-applets-2.16.0.1-keyboard-indicator-segfault.patch
@@ -151,6 +154,8 @@ small utilities for the GNOME panel.
%patch19 -p1 -b .corner
%patch20 -p1 -b .redraw
+%patch22 -p1 -b .mixer-mute
+
%patch25 -p1 -b .keyboard-indicator-segfault
%patch26 -p1 -b .cpufreq-changes
%patch27 -p1 -b .desktop-files
@@ -339,6 +344,9 @@ fi
%{_libdir}/pkgconfig/gweather.pc
%changelog
+* Thu Nov 16 2006 Matthias Clasen <mclasen@redhat.com> - 1:2.16.1-5
+- Fix muted icon in mixer again
+
* Mon Nov 6 2006 Ray Strode <rstrode@redhat.com> - 1:2.16.1-4
- s/verion/version/ in dbus glib build requires