diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-09-30 15:07:06 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-09-30 15:07:06 (GMT) |
commit | 49b755a0ed642777d6251098181377d2a6b7fbb7 (patch) | |
tree | 079f9d5fb14fae5a459f14c275a4a2af4b731b8b /measure.py | |
parent | 5a1e4f982f74299e650cd551781c6d928458ced9 (diff) |
numerous patches to clean up and speed up code by benzea et al.
Diffstat (limited to 'measure.py')
-rw-r--r--[-rwxr-xr-x] | measure.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/measure.py b/measure.py index 3c52cbe..45c8eff 100755..100644 --- a/measure.py +++ b/measure.py @@ -1,7 +1,9 @@ #!/usr/bin/python # -# Copyright (C) 2007, OLPC # Written by Arjun Sarwal <arjun@laptop.org> +# Copyright (C) 2007, Arjun Sarwal +# Copyright (C) 2009, Walter Bender +# Copyright (C) 2009, Benjamin Berg, Sebastian Berg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -127,7 +129,7 @@ class MeasureActivity(activity.Activity): def waveform_refresh(self): self.wave.queue_draw() - return self.active_status + return self.active_status def on_quit(self,data=None): self.audiograb.on_activity_quit() @@ -142,9 +144,9 @@ class MeasureActivity(activity.Activity): self.active_status = False elif (self.props.active and not self.ACTIVE): self.audiograb.resume_grabbing() - self.active_status = True + self.active_status = True gobject.timeout_add(config.REFRESH_TIME, \ - self.waveform_refresh) + self.waveform_refresh) self.ACTIVE = self.props.active """ |