[the-board/wip/http-api: 3/5] [ui] Add ping method to Application
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board/wip/http-api: 3/5] [ui] Add ping method to Application
- Date: Tue, 23 Nov 2010 23:16:48 +0000 (UTC)
commit 478a2b7f1ab4f9a22aef810e00be0dc76451c33f
Author: Lucas Rocha <lucasr gnome org>
Date: Tue Nov 23 18:09:03 2010 +0000
[ui] Add ping method to Application
src/js/ui/application.js | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/js/ui/application.js b/src/js/ui/application.js
index 6fda56b..6e26722 100644
--- a/src/js/ui/application.js
+++ b/src/js/ui/application.js
@@ -20,7 +20,8 @@ const TheBoardIface = {
methods: [ { name: "activate",
inSignature: '',
outSignature: '' },
- { name: "addThing" } ],
+ { name: "addThing" },
+ { name: 'ping' } ],
signals: [],
@@ -121,6 +122,11 @@ Application.prototype = {
}
},
+ // DBus/HTTP method
+ ping : function(args) {
+ log('Application: ping via DBus/HTTP');
+ },
+
quit : function() {
Gtk.main_quit();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]