[the-board/time-label-fix: 4/4] [things] Save state after voice recording stops



commit 6d46c701bb587cffa377a4a9ebc460202d03b7ff
Author: Lucas Rocha <lucasr gnome org>
Date:   Thu Jan 27 00:49:36 2011 +0000

    [things] Save state after voice recording stops

 src/js/ui/things/sound.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/things/sound.js b/src/js/ui/things/sound.js
index 742dd40..4fdeec8 100644
--- a/src/js/ui/things/sound.js
+++ b/src/js/ui/things/sound.js
@@ -465,6 +465,8 @@ SoundThing.prototype = {
         this._updateSoundFilename(soundFilename,
                                   true /* avoid autoplaying */);
 
+        this.emit("save");
+
         this._updateSoundControlsVisibility();
     },
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]