[gnome-settings-daemon] media-keys: don't preserve the path after filling



commit 39943e969924fdc866ae37986f5444b5ba27e9c2
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Aug 1 16:36:34 2011 +0200

    media-keys: don't preserve the path after filling
    
    Otherwise the progressbar that will be drawn later will fill the whole
    trough instead of the specified percentage.

 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 f63e67f..2d9211c 100644
--- a/plugins/media-keys/gsd-media-keys-window.c
+++ b/plugins/media-keys/gsd-media-keys-window.c
@@ -386,7 +386,7 @@ draw_volume_boxes (GsdMediaKeysWindow *window,
         acolor.alpha = GSD_OSD_WINDOW_FG_ALPHA / 2;
         gsd_osd_window_draw_rounded_rectangle (cr, 1.0, _x0, _y0, height / 6, width, height);
         gdk_cairo_set_source_rgba (cr, &acolor);
-        cairo_fill_preserve (cr);
+        cairo_fill (cr);
 
         /* bar progress */
         if (percentage < 0.01)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]