From e8dda0344160bf8f6c0bc0bdd26af1ca89d59881 Mon Sep 17 00:00:00 2001 From: Nickolas Lloyd Date: Tue, 5 Oct 2010 19:24:09 +0000 Subject: [PATCH] Fix drawing of elements This patch fixes the drawing of theme elements to appear in the desired orientation https://bugzilla.gnome.org/show_bug.cgi?id=631487 --- src/ui/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/theme.c b/src/ui/theme.c index 8e88ec5c0..082a454a8 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -3581,7 +3581,7 @@ meta_draw_op_draw_with_env (const MetaDrawOp *op, rheight = parse_size_unchecked (op->data.arc.height, env); start_angle = op->data.arc.start_angle * (M_PI / 180.) - - (.25 * M_PI); /* start at 12 instead of 3 oclock */ + - (.5 * M_PI); /* start at 12 instead of 3 oclock */ end_angle = start_angle + op->data.arc.extent_angle * (M_PI / 180.); center_x = rx + (double)rwidth / 2. + .5; center_y = ry + (double)rheight / 2. + .5;