diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2013-01-05 12:30:54 +0000 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2013-01-05 12:30:54 +0000 |
commit | c6e435e5c8f4455174c76366a9c0bb314354d5f4 (patch) | |
tree | 04c196f5edad39704b663845644f0ba12654dd65 | |
parent | 93d7d6c686b683b8e920c79d05de759c5f18319e (diff) |
Rename nodes
The Telepathy extensions to the D-Bus annotation format use the node
name as a base for the proxy object name in bindings. So we should give
the nodes appropriate names.
The files themselves are also renamed to be the same as the interface
they describe.
-rw-r--r-- | spec/all.xml | 8 | ||||
-rw-r--r-- | spec/org.mpris.MediaPlayer2.Player.xml (renamed from spec/Player_Node.xml) | 2 | ||||
-rw-r--r-- | spec/org.mpris.MediaPlayer2.Playlists.xml (renamed from spec/Playlists.xml) | 2 | ||||
-rw-r--r-- | spec/org.mpris.MediaPlayer2.TrackList.xml (renamed from spec/TrackList_Node.xml) | 2 | ||||
-rw-r--r-- | spec/org.mpris.MediaPlayer2.xml (renamed from spec/Root_Node.xml) | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/spec/all.xml b/spec/all.xml index e1ece7c..a48138b 100644 --- a/spec/all.xml +++ b/spec/all.xml @@ -177,10 +177,10 @@ </tp:section> <tp:section name="Interfaces"> - <xi:include href="Root_Node.xml" /> - <xi:include href="TrackList_Node.xml" /> - <xi:include href="Player_Node.xml" /> - <xi:include href="Playlists.xml" /> + <xi:include href="org.mpris.MediaPlayer2.xml" /> + <xi:include href="org.mpris.MediaPlayer2.Player.xml" /> + <xi:include href="org.mpris.MediaPlayer2.TrackList.xml" /> + <xi:include href="org.mpris.MediaPlayer2.Playlists.xml" /> </tp:section> </tp:spec> diff --git a/spec/Player_Node.xml b/spec/org.mpris.MediaPlayer2.Player.xml index ccb6864..426a542 100644 --- a/spec/Player_Node.xml +++ b/spec/org.mpris.MediaPlayer2.Player.xml @@ -1,5 +1,5 @@ <?xml version="1.0" ?> -<node name="/Player_Node" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> +<node name="/Player_Interface" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> <interface name="org.mpris.MediaPlayer2.Player"> <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> diff --git a/spec/Playlists.xml b/spec/org.mpris.MediaPlayer2.Playlists.xml index 7fa3acb..e285ef2 100644 --- a/spec/Playlists.xml +++ b/spec/org.mpris.MediaPlayer2.Playlists.xml @@ -1,5 +1,5 @@ <?xml version="1.0" ?> -<node name="/Playlists" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> +<node name="/Playlists_Interface" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> <interface name="org.mpris.MediaPlayer2.Playlists"> <tp:added version="2.1" /> <tp:docstring> diff --git a/spec/TrackList_Node.xml b/spec/org.mpris.MediaPlayer2.TrackList.xml index f9f17a6..6c511df 100644 --- a/spec/TrackList_Node.xml +++ b/spec/org.mpris.MediaPlayer2.TrackList.xml @@ -1,5 +1,5 @@ <?xml version="1.0" ?> -<node name="/TrackList_Node" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> +<node name="/Track_List_Interface" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> <interface name="org.mpris.MediaPlayer2.TrackList"> <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> diff --git a/spec/Root_Node.xml b/spec/org.mpris.MediaPlayer2.xml index 4a98557..aca33e6 100644 --- a/spec/Root_Node.xml +++ b/spec/org.mpris.MediaPlayer2.xml @@ -1,5 +1,5 @@ <?xml version="1.0" ?> -<node name="/Root_Node" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> +<node name="/Media_Player" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> <interface name="org.mpris.MediaPlayer2"> <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/> |