[gnome-sound-recorder] remove dbus app launching for now
- From: Meg Ford (Margaret) <megford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] remove dbus app launching for now
- Date: Wed, 25 Sep 2013 04:30:30 +0000 (UTC)
commit a9644c1bd397b5ee191a6a1ff649619b6ac791ab
Author: Meg Ford <meg387 gmail com>
Date: Mon Sep 23 10:19:34 2013 -0500
remove dbus app launching for now
src/gnome-sound-recorder.in | 7 ++++++-
src/main.js | 4 +---
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-sound-recorder.in b/src/gnome-sound-recorder.in
index 0979b97..271e514 100644
--- a/src/gnome-sound-recorder.in
+++ b/src/gnome-sound-recorder.in
@@ -1,5 +1,10 @@
#! GJS@
imports.searchPath.push("@pkgdatadir@");
-imports.package.launch({ name: "org.gnome.SoundRecorder" });
+imports.package.start({ name: "@PACKAGE_NAME@",
+ version: "@PACKAGE_VERSION@",
+ prefix: "@prefix@",
+ libdir: "@libdir@" });
+
+
diff --git a/src/main.js b/src/main.js
index 35d87e0..94a5919 100644
--- a/src/main.js
+++ b/src/main.js
@@ -52,9 +52,7 @@ const Application = new Lang.Class({
Extends: Gtk.Application,
_init: function() {
- this.parent({ application_id: "org.gnome.SoundRecorder",
- flags: Gio.ApplicationFlags.IS_SERVICE,
- inactivity_timeout: 60000 });
+ this.parent({ application_id: "org.gnome.SoundRecorder"});
GLib.set_application_name(_("SoundRecorder"));
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]