diff options
author | Benjamin Schwartz <bens@alum.mit.edu> | 2008-02-29 22:40:12 (GMT) |
---|---|---|
committer | Benjamin Schwartz <bens@alum.mit.edu> | 2008-02-29 22:40:12 (GMT) |
commit | 145d3d5e2d3b10662376c73a659e42a8a34973ff (patch) | |
tree | 26ed1a2e95a47327a5ddcb0218933eef661b37f9 /stopwatch.py | |
parent | 5c56c76d33f94b504f0fb324835e5e01bfccdd90 (diff) |
Many bugfixes
Diffstat (limited to 'stopwatch.py')
-rw-r--r-- | stopwatch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stopwatch.py b/stopwatch.py index 789b751..4ae43dd 100644 --- a/stopwatch.py +++ b/stopwatch.py @@ -81,7 +81,7 @@ class WatchModel(): def _history_cb(self, diffset): self._update_state() - self._trigger + self._trigger() def add_event_from_view(self, ev): self._history_lock.acquire() @@ -304,7 +304,7 @@ class OneWatchView(): self._is_visible.wait() self._label_lock.acquire() if self._should_update.isSet() and self._is_visible.isSet(): - s = self._format(time.time() + self._offset - self._timeval) + s = self._format(time.time() + self._timer.offset - self._timeval) ev.clear() gobject.idle_add(self._update_label, s, ev) ev.wait() |