Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deci.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deci.py b/deci.py
index 011bac9..245831c 100644
--- a/deci.py
+++ b/deci.py
@@ -45,8 +45,8 @@ class DrawFractionalArea(gtk.DrawingArea):
width = min(rect.width, rect.height) - 10
- x = int(rect.x + round((rect.width - width)/2))
- y = int(rect.y + round((rect.height - width)/2))
+ x = int(round((rect.width - width)/2))
+ y = int(round((rect.height - width)/2))
context.rectangle(gtk.gdk.Rectangle(x,
y,