rpms/gnome-media/devel gnome-media-fix-decibel-tooltip.patch, NONE, 1.1 gnome-media.spec, 1.161, 1.162

Bastien Nocera hadess at fedoraproject.org
Thu Mar 12 15:35:48 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/gnome-media/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10398

Modified Files:
	gnome-media.spec 
Added Files:
	gnome-media-fix-decibel-tooltip.patch 
Log Message:
* Thu Mar 12 2009 - Bastien Nocera <bnocera at redhat.com> - 2.25.92-4
- Fix dB tooltip always being wrong (#489297)


gnome-media-fix-decibel-tooltip.patch:

--- NEW FILE gnome-media-fix-decibel-tooltip.patch ---
Index: gnome-volume-control/src/gvc-stream-status-icon.c
===================================================================
--- gnome-volume-control/src/gvc-stream-status-icon.c	(revision 4278)
+++ gnome-volume-control/src/gvc-stream-status-icon.c	(working copy)
@@ -472,6 +472,15 @@
         /* FIXME: update dock too */
 }
 
+static void
+on_stream_decibel_notify (GObject             *object,
+                          GParamSpec          *pspec,
+                          GvcStreamStatusIcon *icon)
+{
+        update_icon (icon);
+        /* FIXME: update dock too */
+}
+
 void
 gvc_stream_status_icon_set_display_name (GvcStreamStatusIcon *icon,
                                          const char          *name)
@@ -501,6 +510,9 @@
                 g_signal_handlers_disconnect_by_func (icon->priv->mixer_stream,
                                                       G_CALLBACK (on_stream_is_muted_notify),
                                                       icon);
+                g_signal_handlers_disconnect_by_func (icon->priv->mixer_stream,
+                                                      G_CALLBACK (on_stream_decibel_notify),
+                                                      icon);
                 g_object_unref (icon->priv->mixer_stream);
                 icon->priv->mixer_stream = NULL;
         }
@@ -524,6 +536,10 @@
                                   "notify::is-muted",
                                   G_CALLBACK (on_stream_is_muted_notify),
                                   icon);
+                g_signal_connect (icon->priv->mixer_stream,
+                                  "notify::decibel",
+                                  G_CALLBACK (on_stream_decibel_notify),
+                                  icon);
         }
 
         update_icon (icon);


Index: gnome-media.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-media/devel/gnome-media.spec,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -r1.161 -r1.162
--- gnome-media.spec	11 Mar 2009 12:10:16 -0000	1.161
+++ gnome-media.spec	12 Mar 2009 15:35:17 -0000	1.162
@@ -14,7 +14,7 @@
 Summary:        GNOME media programs
 Name:           gnome-media
 Version:        2.25.92
-Release:        3%{?dist}
+Release:        4%{?dist}
 License:        GPLv2+ and GFDL
 Group:          Applications/Multimedia
 Source:         http://download.gnome.org/sources/gnome-media/2.25/gnome-media-%{version}.tar.bz2
@@ -23,6 +23,9 @@
 # http://bugzilla.gnome.org/show_bug.cgi?id=564313#c8
 # https://bugzilla.redhat.com/show_bug.cgi?id=485979
 Patch1:		gvc-fix-zero-adj-usage.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=489297
+# http://bugzilla.gnome.org/show_bug.cgi?id=575093
+Patch2:		gnome-media-fix-decibel-tooltip.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Obsoletes:      gnome
@@ -85,6 +88,7 @@
 pushd gnome-volume-control/src
 %patch1 -p0 -b .zero-adj
 popd
+%patch2 -p0 -b .db-tooltip
 
 autoreconf -f -i
 
@@ -260,6 +264,9 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Thu Mar 12 2009 - Bastien Nocera <bnocera at redhat.com> - 2.25.92-4
+- Fix dB tooltip always being wrong (#489297)
+
 * Wed Mar 11 2009 - Bastien Nocera <bnocera at redhat.com> - 2.25.92-3
 - Fix unwanted random muting (#485979)
 




More information about the fedora-extras-commits mailing list