rpms/gnome-settings-daemon/F-12 0001-Avoid-volumes-going-over-100.patch, NONE, 1.1 gnome-settings-daemon.spec, 1.133, 1.134
Bastien Nocera
hadess at fedoraproject.org
Thu Nov 5 22:26:52 UTC 2009
- Previous message (by thread): rpms/ser2net/F-12 ser2net.spec,1.8,1.9 sources,1.5,1.6
- Next message (by thread): rpms/mdadm/F-12 .cvsignore, 1.26, 1.27 mdadm-3.0-mdmon-dev-.mdadm.patch, 1.1, 1.2 mdadm.spec, 1.75, 1.76 mdmonitor.init, 1.9, 1.10 raid-check, 1.4, 1.5 sources, 1.26, 1.27 mdadm-3.0-endian-FAIL.patch, 1.1, NONE mdadm-3.0-rh526761.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: hadess
Update of /cvs/pkgs/rpms/gnome-settings-daemon/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8878
Modified Files:
gnome-settings-daemon.spec
Added Files:
0001-Avoid-volumes-going-over-100.patch
Log Message:
* Thu Nov 05 2009 Bastien Nocera <bnocera at redhat.com> 2.28.1-6
- Fix the volume going over 100% in the OSD
0001-Avoid-volumes-going-over-100.patch:
gsd-media-keys-manager.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- NEW FILE 0001-Avoid-volumes-going-over-100.patch ---
>From c05c9b8c19f4c735ac1809f8bc61a3c13ea42c12 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Thu, 5 Nov 2009 22:21:52 +0000
Subject: [PATCH] Avoid volumes going over 100%
Because we don't handle that.
https://bugzilla.gnome.org/show_bug.cgi?id=600770
---
plugins/media-keys/gsd-media-keys-manager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index b10fc64..86cb9d4 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -618,11 +618,13 @@ update_dialog (GsdMediaKeysManager *manager,
guint vol,
gboolean muted)
{
+ vol = (int) (100 * (double) vol / PA_VOLUME_NORM);
+ vol = CLAMP (vol, 0, 100);
+
dialog_init (manager);
gsd_media_keys_window_set_volume_muted (GSD_MEDIA_KEYS_WINDOW (manager->priv->dialog),
muted);
- gsd_media_keys_window_set_volume_level (GSD_MEDIA_KEYS_WINDOW (manager->priv->dialog),
- (int) (100 * (double)vol / PA_VOLUME_NORM));
+ gsd_media_keys_window_set_volume_level (GSD_MEDIA_KEYS_WINDOW (manager->priv->dialog), vol);
gsd_media_keys_window_set_action (GSD_MEDIA_KEYS_WINDOW (manager->priv->dialog),
GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME);
dialog_show (manager);
--
1.6.5.2
Index: gnome-settings-daemon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-settings-daemon/F-12/gnome-settings-daemon.spec,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -p -r1.133 -r1.134
--- gnome-settings-daemon.spec 28 Oct 2009 00:33:03 -0000 1.133
+++ gnome-settings-daemon.spec 5 Nov 2009 22:26:51 -0000 1.134
@@ -1,6 +1,6 @@
Name: gnome-settings-daemon
Version: 2.28.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons
@@ -37,6 +37,8 @@ Patch0: 0002-Use-a-rounded-instead-of-cu
Patch1: 0003-Improve-the-media-keys-overlay-design.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=567249
Patch4: 0001-Fix-bluriness-in-level-bar-and-popup.patch
+# https://bugzilla.gnome.org/show_bug.cgi?id=600770
+Patch5: 0001-Avoid-volumes-going-over-100.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=498249
Patch2: left-handed-touchpad.patch
@@ -66,6 +68,7 @@ developing applications that use %{name}
%patch1 -p1 -b .osd-visual-refresh
%patch2 -p1 -b .left-handed-touchpad
%patch3 -p1 -b .slight-hinting
+%patch5 -p1 -b .too-high-volume
%build
%configure --enable-static=no --enable-profiling --disable-esd
@@ -177,6 +180,9 @@ fi
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
%changelog
+* Thu Nov 05 2009 Bastien Nocera <bnocera at redhat.com> 2.28.1-6
+- Fix the volume going over 100% in the OSD
+
* Wed Oct 28 2009 Bastien Nocera <bnocera at redhat.com> 2.28.1-5
- Update OSD code again
- Previous message (by thread): rpms/ser2net/F-12 ser2net.spec,1.8,1.9 sources,1.5,1.6
- Next message (by thread): rpms/mdadm/F-12 .cvsignore, 1.26, 1.27 mdadm-3.0-mdmon-dev-.mdadm.patch, 1.1, 1.2 mdadm.spec, 1.75, 1.76 mdmonitor.init, 1.9, 1.10 raid-check, 1.4, 1.5 sources, 1.26, 1.27 mdadm-3.0-endian-FAIL.patch, 1.1, NONE mdadm-3.0-rh526761.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list