[the-board: 3/8] [things] Save state after voice recording stops



commit 93580de4092dfe24bc7d11bec891c0438b9bebbe
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 94485a7..007d5c8 100644
--- a/src/js/ui/things/sound.js
+++ b/src/js/ui/things/sound.js
@@ -461,6 +461,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]