[gnome-disk-utility/udisks2-port] GduVolumeGrid: Fix border so things looks better when on top of a toolbar



commit ddbfade76b22a2ac8913b760eb5427696a956b6a
Author: David Zeuthen <davidz redhat com>
Date:   Thu Jun 16 14:05:06 2011 -0400

    GduVolumeGrid: Fix border so things looks better when on top of a toolbar
    
    This removes the annoying lower border. See
    
     http://people.freedesktop.org/~david/gdu-udisks2-wip-20110616.png
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 src/palimpsest/gduvolumegrid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/palimpsest/gduvolumegrid.c b/src/palimpsest/gduvolumegrid.c
index bf4d222..e23d555 100644
--- a/src/palimpsest/gduvolumegrid.c
+++ b/src/palimpsest/gduvolumegrid.c
@@ -1038,7 +1038,7 @@ render_element (GduVolumeGrid *grid,
               element->x + 0.5,
               element->y + 0.5,
               element->width,
-              element->height,
+              element->height + 1,
               10,
               element->edge_flags);
 



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