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.
* \luastack
* \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
* org.awesome is registered by default.
* \lparam A string with the name of the D-Bus name to register.
* \lreturn True if everything worked fine, false otherwise.
*/
static int

View File

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

View File

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