diff options
author | Rafael Ortiz <rafael@activitycentral.com> | 2012-04-04 02:17:07 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2012-04-04 02:17:07 (GMT) |
commit | 8646fcdfa4da21e13bddb7166047d67cbabfc93d (patch) | |
tree | 5e8b859ffd7d3fe66b5fe64853934b88ae4f99a6 | |
parent | a2b2441f3cb699155a17c5ba1391c3d47b582fc4 (diff) |
fixing sl #3394 by manu
-rwxr-xr-x | clock.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -541,8 +541,8 @@ class ClockFace(gtk.DrawingArea): of the clock, radius). """ # Store the measures of the clock face widget - self._center_x = int(allocation.x + allocation.width / 2.0) - self._center_y = int(allocation.y + allocation.height / 2.0) + self._center_x = int(allocation.width / 2.0) + self._center_y = int(allocation.height / 2.0) self._radius = max(min(int(allocation.width / 2.0), \ int(allocation.height / 2.0)) - 20, 0) self._width = allocation.width |