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:
parent
a04ad58004
commit
88be323e4a
3
dbus.c
3
dbus.c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue