[gnome-weather] Fix critical warning at startup
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather] Fix critical warning at startup
- Date: Mon, 15 Aug 2016 23:39:05 +0000 (UTC)
commit 8af140f2ee90d719d2b0027225f624a574d3aaac
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun May 8 20:15:28 2016 -0700
Fix critical warning at startup
src/app/main.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/app/main.js b/src/app/main.js
index 5c0b4f0..3f57083 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -150,7 +150,7 @@ const Application = new Lang.Class({
this._initAppMenu();
- this.add_accelerator("Escape", "win.selection-mode(false)", null);
+ this.add_accelerator("Escape", "win.selection-mode", new GLib.Variant('b', false));
this.add_accelerator("<Primary>a", "win.select-all", null);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]