[gnome-maps] application: remove MAPS_PERSIST and inactivity timeout
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] application: remove MAPS_PERSIST and inactivity timeout
- Date: Tue, 2 Apr 2013 15:15:16 +0000 (UTC)
commit 97e2ed783131d0dcce99def3a19a7deb2cc92574
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Apr 2 11:07:42 2013 -0400
application: remove MAPS_PERSIST and inactivity timeout
This is not needed right now, since we don't have a search provider or
ever run as a DBus service.
src/application.js | 3 +--
src/main.js | 3 ---
2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index cd25795..1977455 100644
--- a/src/application.js
+++ b/src/application.js
@@ -50,8 +50,7 @@ const Application = new Lang.Class({
GLib.set_prgname('gnome-maps');
GLib.set_application_name(_("Maps"));
- this.parent({ application_id: 'org.gnome.Maps',
- inactivity_timeout: 12000 });
+ this.parent({ application_id: 'org.gnome.Maps' });
},
_onActionQuit: function() {
diff --git a/src/main.js b/src/main.js
index cad7e1a..87bce36 100644
--- a/src/main.js
+++ b/src/main.js
@@ -20,11 +20,8 @@
*/
const Application = imports.application;
-const GLib = imports.gi.GLib;
function start() {
let application = new Application.Application();
- if (GLib.getenv('MAPS_PERSIST'))
- application.hold();
return application.run(ARGV);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]