[sushi] application: clean up the DBus interface



commit adbccd93cc4b122e722cd1f09ac2517ad351548f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Apr 21 16:45:29 2011 -0400

    application: clean up the DBus interface

 src/js/ui/application.js |   20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/src/js/ui/application.js b/src/js/ui/application.js
index f9707d9..e2e570b 100644
--- a/src/js/ui/application.js
+++ b/src/js/ui/application.js
@@ -12,25 +12,19 @@ const Gio = imports.gi.Gio;
 
 const MainWindow = imports.ui.mainWindow;
 
-const _SUSHI_DBUS_PATH = '/org/gnome/Sushi';
+const _SUSHI_DBUS_PATH = '/org/gnome/NautilusPreviewer';
 
 const SushiIface = {
     name: 'org.gnome.NautilusPreviewer',
 
     methods: [ { name: "activate",
-                 inSignature: "",
-                 outSignature: "" },
-               { name: "showFile",
-                 inSignature: "si",
-                 outSignature: "" } ],
-
-    signals: [ { name: "nextFile",
-                 inSignature: "",
-                 outSignature: "" },
-               { name: "prevFile",
-                 inSignature: "",
-                 outSignature: "" }],
+                 inSignature: '',
+                 outSignature: '' },
+               { name: "ShowFile",
+                 inSignature: 'siii',
+                 outSignature: '' } ],
 
+    signals: [],
     properties: []
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]