aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorAndrea Cimitan <andrea.cimitan@canonical.com>2011-08-24 18:01:49 +0200
committerAndrea Cimitan <andrea.cimitan@canonical.com>2011-08-24 18:01:49 +0200
commit7842750d1dbba49a02f2b18e9bda56bf0c893971 (patch)
treea1466147447bff7f7f0d1031219f85583cd6e9fb /src/transport-widget.c
parent56533c0fe34b8835a5f3ec25eec7ab4bae3eca85 (diff)
downloadayatana-indicator-sound-7842750d1dbba49a02f2b18e9bda56bf0c893971.tar.gz
ayatana-indicator-sound-7842750d1dbba49a02f2b18e9bda56bf0c893971.tar.bz2
ayatana-indicator-sound-7842750d1dbba49a02f2b18e9bda56bf0c893971.zip
Ok, I know it's ugly, but seems to work a little bit better... waiting for a better fix (don't draw above the background)
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r--src/transport-widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index 868a5c1..22e3b2a 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -1418,7 +1418,7 @@ draw (GtkWidget* button, cairo_t *cr)
draw_gradient (cr,
RECT_WIDTH / 2 + X,
Y + 1,
- (RECT_WIDTH - 7)/2,
+ (RECT_WIDTH - 4.5)/2,
MIDDLE_RADIUS,
INNER_COMPRESSED_START,
INNER_COMPRESSED_END);
@@ -1470,7 +1470,7 @@ draw (GtkWidget* button, cairo_t *cr)
draw_gradient (cr,
RECT_WIDTH / 2 + X,
Y + 1,
- (RECT_WIDTH - 7)/2,
+ (RECT_WIDTH - 4.5)/2,
MIDDLE_RADIUS,
MIDDLE_START_PRELIGHT,
MIDDLE_END_PRELIGHT);