diff --git a/0003-Improve-the-media-keys-overlay-design.patch b/0003-Improve-the-media-keys-overlay-design.patch index d4177de..edfe7ef 100644 --- a/0003-Improve-the-media-keys-overlay-design.patch +++ b/0003-Improve-the-media-keys-overlay-design.patch @@ -1,14 +1,15 @@ -From 26041c5b936263d3f5aa4aa7fc7ffedd128ed444 Mon Sep 17 00:00:00 2001 +From 20036534e2828417b75ea3a0cd830266f40f81f6 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 23 Sep 2009 21:15:45 -0400 -Subject: [PATCH 3/3] Improve the media keys overlay design +Subject: [PATCH 3/5] Improve the media keys overlay design +https://bugzilla.gnome.org/show_bug.cgi?id=596136 --- - plugins/media-keys/gsd-media-keys-window.c | 59 +++++++++++++++++++++------- - 1 files changed, 45 insertions(+), 14 deletions(-) + plugins/media-keys/gsd-media-keys-window.c | 57 +++++++++++++++++++++------ + 1 files changed, 44 insertions(+), 13 deletions(-) diff --git a/plugins/media-keys/gsd-media-keys-window.c b/plugins/media-keys/gsd-media-keys-window.c -index cffbe3e..c33d624 100644 +index cffbe3e..ec69598 100644 --- a/plugins/media-keys/gsd-media-keys-window.c +++ b/plugins/media-keys/gsd-media-keys-window.c @@ -33,7 +33,7 @@ @@ -57,12 +58,8 @@ index cffbe3e..c33d624 100644 draw_volume_boxes (GsdMediaKeysWindow *window, cairo_t *cr, double percentage, -@@ -609,33 +639,34 @@ draw_volume_boxes (GsdMediaKeysWindow *window, - y0 += 0.5; - height = round (height) - 1; - width = round (width) - 1; -- x1 = round ((width - 1) * percentage); -+ x1 = round ((width - 2) * percentage); +@@ -612,30 +642,31 @@ draw_volume_boxes (GsdMediaKeysWindow *window, + x1 = round ((width - 1) * percentage); /* bar background */ - color = GTK_WIDGET (window)->style->dark [GTK_STATE_NORMAL]; @@ -98,7 +95,7 @@ index cffbe3e..c33d624 100644 g = (float)color.green / 65535.0; b = (float)color.blue / 65535.0; - cairo_rectangle (cr, x0 + 0.5, y0 + 0.5, x1, height - 1); -+ rounded_rectangle (cr, 1.0, x0 + 0.5, y0 + 0.5, height / 8, x1, height - 2); ++ rounded_rectangle (cr, 1.0, x0 + 0.5, y0 + 0.5, height / 6 - 0.5, x1, height - 1); cairo_set_source_rgba (cr, r, g, b, FG_ALPHA); cairo_fill (cr); } diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index d8fd5fd..a6e6f3b 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -1,6 +1,6 @@ Name: gnome-settings-daemon Version: 2.28.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The daemon sharing settings from GNOME to GTK+/KDE applications Group: System Environment/Daemons @@ -177,6 +177,9 @@ fi %{_libdir}/pkgconfig/gnome-settings-daemon.pc %changelog +* Wed Oct 28 2009 Bastien Nocera 2.28.1-5 +- Update OSD code again + * Tue Oct 27 2009 Bastien Nocera 2.28.1-4 - Fix bluriness in OSD