diff options
author | Daniel Drake <dsd@laptop.org> | 2012-03-26 20:53:03 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2012-03-26 20:53:03 (GMT) |
commit | 06ae627ef907ca5e0fb448bd1e2b4a6a9b2c86dc (patch) | |
tree | 179bfc9bee542a7282d3614d153fedd40b1de4e0 | |
parent | 467c35b94b1c76ec5af2c7d479f318480ee02a90 (diff) |
Reset progress upon start media capture
After recording audio/video, when recording again you would briefly see
the "Saving..." message and old progress bar before the first timer tick.
Reset the progress bar when starting recording to avoid this glitch.
-rw-r--r-- | model.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -199,6 +199,7 @@ class Model: self.glive.take_photo() return + self.set_progress(0, '') self._timer_value = self.activity.get_selected_duration() self._timer_duration = self._timer_value self._timer_handle = gobject.timeout_add(1000, self._timer_tick) |