[gnome-shell] main: Close the recorder instead of pausing it
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] main: Close the recorder instead of pausing it
- Date: Thu, 3 May 2012 07:30:31 +0000 (UTC)
commit 915524e1ab7d2c5efb95985f30ee2f7c5ca69554
Author: Rui Matos <tiagomatos gmail com>
Date: Wed May 2 16:44:40 2012 +0200
main: Close the recorder instead of pausing it
Pausing means that we will continue to use the same output file when
the keybinding is activated again. While useful to record a single
video in chunks, it doesn't seem to be how most users understand the
keybinding. Closing the recorder will close the file and create a new
one the next time the keybinding is pressed.
https://bugzilla.gnome.org/show_bug.cgi?id=675128
js/ui/main.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 3b80297..25ad8d8 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -110,7 +110,7 @@ function _initRecorder() {
}
if (recorder.is_recording()) {
- recorder.pause();
+ recorder.close();
Meta.enable_unredirect_for_screen(global.screen);
} else {
// read the parameters from GSettings always in case they have changed
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]