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.
|
* \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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue