[gnome-settings-daemon] media-keys: remove the half pixel offset from the progressbar fill
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] media-keys: remove the half pixel offset from the progressbar fill
- Date: Mon, 1 Aug 2011 15:07:24 +0000 (UTC)
commit caa9970a81ce16cb9ead151cea4470bc9217d781
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Aug 1 17:04:56 2011 +0200
media-keys: remove the half pixel offset from the progressbar fill
Now that the progressbar doesn't have border, it doesn't need an half
pixel offset anymore.
plugins/media-keys/gsd-media-keys-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-window.c b/plugins/media-keys/gsd-media-keys-window.c
index 2d9211c..f0d026b 100644
--- a/plugins/media-keys/gsd-media-keys-window.c
+++ b/plugins/media-keys/gsd-media-keys-window.c
@@ -393,7 +393,7 @@ draw_volume_boxes (GsdMediaKeysWindow *window,
return;
gtk_style_context_get_background_color (context, GTK_STATE_NORMAL, &acolor);
acolor.alpha = GSD_OSD_WINDOW_FG_ALPHA;
- gsd_osd_window_draw_rounded_rectangle (cr, 1.0, _x0 + 0.5, _y0 + 0.5, height / 6 - 0.5, x1, height - 1);
+ gsd_osd_window_draw_rounded_rectangle (cr, 1.0, _x0, _y0, height / 6, x1, height);
gdk_cairo_set_source_rgba (cr, &acolor);
cairo_fill (cr);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]