dbus: Use org.naquadah.awesome instead of org.awesome.

http://dbus.freedesktop.org/doc/dbus-specification.html#naming-conventions

Signed-off-by: Jonny Lamb <jonny@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Jonny Lamb 2009-05-16 11:22:20 +01:00 committed by Julien Danjou
parent a04ad58004
commit 88be323e4a
3 changed files with 5 additions and 6 deletions

3
dbus.c
View File

@ -541,8 +541,7 @@ a_dbus_bus_getbyname(const char *name, size_t len)
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
* \luastack * \luastack
* \lparam A string indicating if we are using system or session bus. * \lparam A string indicating if we are using system or session bus.
* \lparam A string with the name of the D-Bus name to register. Note that * \lparam A string with the name of the D-Bus name to register.
* org.awesome is registered by default.
* \lreturn True if everything worked fine, false otherwise. * \lreturn True if everything worked fine, false otherwise.
*/ */
static int static int

View File

@ -18,8 +18,8 @@ local type = type
module("awful.remote") module("awful.remote")
if hooks.dbus then if hooks.dbus then
dbus.request_name("session", "org.awesome") dbus.request_name("session", "org.naquadah.awesome")
hooks.dbus.register("org.awesome.Remote", function(data, code) hooks.dbus.register("org.naquadah.awesome.Remote", function(data, code)
if data.member == "Eval" then if data.member == "Eval" then
local f, e = loadstring(code) local f, e = loadstring(code)
if f then if f then

View File

@ -31,9 +31,9 @@ then
exit 1 exit 1
fi fi
DBUS_METHOD=org.awesome.Remote.Eval DBUS_METHOD=org.naquadah.awesome.Remote.Eval
DBUS_PATH=/ DBUS_PATH=/
DBUS_DEST=org.awesome DBUS_DEST=org.naquadah.awesome
a_dbus_send() a_dbus_send()
{ {