rpms/gnome-applets/devel gnome-applets-2.16.1-mixer-mute.patch, NONE, 1.1 gnome-applets.spec, 1.196, 1.197

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Nov 16 17:13:11 UTC 2006


Author: mclasen

Update of /cvs/dist/rpms/gnome-applets/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19479

Modified Files:
	gnome-applets.spec 
Added Files:
	gnome-applets-2.16.1-mixer-mute.patch 
Log Message:
fix muting


gnome-applets-2.16.1-mixer-mute.patch:
 applet.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

--- NEW FILE gnome-applets-2.16.1-mixer-mute.patch ---
--- 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);


Index: gnome-applets.spec
===================================================================
RCS file: /cvs/dist/rpms/gnome-applets/devel/gnome-applets.spec,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -r1.196 -r1.197
--- gnome-applets.spec	6 Nov 2006 21:08:12 -0000	1.196
+++ gnome-applets.spec	16 Nov 2006 17:13:09 -0000	1.197
@@ -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 @@
 # 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 @@
 %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 @@
 %{_libdir}/pkgconfig/gweather.pc
 
 %changelog
+* Thu Nov 16 2006 Matthias Clasen <mclasen at redhat.com> - 1:2.16.1-5
+- Fix muted icon in mixer again
+
 * Mon Nov  6 2006 Ray Strode <rstrode at redhat.com> - 1:2.16.1-4
 - s/verion/version/ in dbus glib build requires
 




More information about the fedora-cvs-commits mailing list