DBus: Use org.gnome prefix and adapt to changes

In preparation to moving to GNOME all the IDs, DBus object paths, etc should
change.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-07-10 04:27:42 +02:00
committed by Evangelos Ribeiro Tzaras
parent b74601f7c4
commit 69b919d7ab
4 changed files with 6 additions and 6 deletions

View File

@@ -37,7 +37,7 @@
<chapter id="dbus"> <chapter id="dbus">
<title>DBus interfaces</title> <title>DBus interfaces</title>
<xi:include href="../src/dbus/calls-sm.puri.Calls.Call.xml"/> <xi:include href="../src/dbus/calls-org.gnome.Calls.Call.xml"/>
</chapter> </chapter>
</book> </book>

View File

@@ -22,8 +22,8 @@
* The #CallsCallManager is responsible for exposing the * The #CallsCallManager is responsible for exposing the
* call objects on the session bus using #GDBusObjectManager. * call objects on the session bus using #GDBusObjectManager.
* *
* Call objects are exported like /sm/puri/Calls/ as * Call objects are exported like /org/gnome/Calls/ as
* /sm/puri/Calls/Call/1, /sm/puri/Calls/Call/2, … using * /org/gnome/Calls/Call/1, /org/gnome/Calls/Call/2, … using
* org.freedesktop.DBus.ObjectManager. * org.freedesktop.DBus.ObjectManager.
*/ */

View File

@@ -2,8 +2,8 @@ generated_dbus_sources = []
# DBus server protocols # DBus server protocols
generated_dbus_sources += gnome.gdbus_codegen('calls-call-dbus', generated_dbus_sources += gnome.gdbus_codegen('calls-call-dbus',
'sm.puri.Calls.Call.xml', 'org.gnome.Calls.Call.xml',
docbook: 'calls', docbook: 'calls',
interface_prefix: 'sm.puri', interface_prefix: 'org.gnome',
object_manager: true, object_manager: true,
namespace: 'CallsDBus') namespace: 'CallsDBus')

View File

@@ -21,7 +21,7 @@
<node> <node>
<interface name="sm.puri.Calls.Call"> <interface name="org.gnome.Calls.Call">
<method name="Accept"/> <method name="Accept"/>
<method name="Hangup"/> <method name="Hangup"/>
<property name="Inbound" type="b" access="read"/> <property name="Inbound" type="b" access="read"/>