diff options
author | Gary Martin <gary@garycmartin.com> | 2012-04-30 16:20:07 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2012-04-30 16:20:07 (GMT) |
commit | aedc2c95670b51ceb1d18ec46728acc9bac5058b (patch) | |
tree | 16b76256553d5706d6f8f32133413e7509e5dc6b /clock.py | |
parent | e5fa28d6067f801ae07a7c53b7ee9a170b3d0ac3 (diff) |
Clock activity draws off screen in F17 SL#3394 (Manuel Quiǹƒones)
Diffstat (limited to 'clock.py')
-rwxr-xr-x | clock.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -530,8 +530,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 |