[gnome-shell] [recorder] Don't pass recorderSettings as a paramter to the signal handler
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] [recorder] Don't pass recorderSettings as a paramter to the signal handler
- Date: Sat, 19 Jun 2010 10:12:27 +0000 (UTC)
commit 4ccff179a50ba6b5c35b36963af85ecfcceeec0d
Author: Adel Gadllah <adel gadllah gmail com>
Date: Sat Jun 19 12:08:52 2010 +0200
[recorder] Don't pass recorderSettings as a paramter to the signal handler
We want to use the settings object created in start(), not the argument
passed to the signal handler.
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 77930a7..4e8e6df 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -136,7 +136,7 @@ function start() {
let recorderSettings = new Gio.Settings({ schema: 'org.gnome.shell.recorder' });
- global.screen.connect('toggle-recording', function(recorderSettings) {
+ global.screen.connect('toggle-recording', function() {
if (recorder == null) {
recorder = new Shell.Recorder({ stage: global.stage });
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]