[rhythmbox] add version number to plugin dbus interfaces and object names too
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] add version number to plugin dbus interfaces and object names too
- Date: Wed, 28 Sep 2011 23:47:01 +0000 (UTC)
commit 6915c5f853ae23d3f50e3053ba71d054d240b8bc
Author: Jonathan Matthew <jonathan d14n org>
Date: Thu Sep 29 09:43:52 2011 +1000
add version number to plugin dbus interfaces and object names too
plugins/daap/rb-daap-plugin.c | 6 +++---
plugins/mpris/rb-mpris-plugin.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/plugins/daap/rb-daap-plugin.c b/plugins/daap/rb-daap-plugin.c
index 17f857c..ac8bd4a 100644
--- a/plugins/daap/rb-daap-plugin.c
+++ b/plugins/daap/rb-daap-plugin.c
@@ -66,12 +66,12 @@
#include <libdmapsharing/dmap.h>
-#define DAAP_DBUS_PATH "/org/gnome/Rhythmbox/DAAP"
-#define DAAP_DBUS_IFACE "org.gnome.Rhythmbox.DAAP"
+#define DAAP_DBUS_PATH "/org/gnome/Rhythmbox3/DAAP"
+#define DAAP_DBUS_IFACE "org.gnome.Rhythmbox3.DAAP"
static const char *rb_daap_dbus_iface =
"<node>"
-" <interface name='org.gnome.Rhythmbox.DAAP'>"
+" <interface name='org.gnome.Rhythmbox3.DAAP'>"
" <method name='AddDAAPSource'>"
" <arg type='s' name='service_name'/>"
" <arg type='s' name='host'/>"
diff --git a/plugins/mpris/rb-mpris-plugin.c b/plugins/mpris/rb-mpris-plugin.c
index acdc840..5511b44 100644
--- a/plugins/mpris/rb-mpris-plugin.c
+++ b/plugins/mpris/rb-mpris-plugin.c
@@ -1342,7 +1342,7 @@ display_page_inserted_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *i
if (is_local) {
char *id;
- id = g_strdup_printf ("/org/gnome/Rhythmbox/Playlist/%p", page);
+ id = g_strdup_printf ("/org/gnome/Rhythmbox3/Playlist/%p", page);
g_object_set_data_full (G_OBJECT (page), MPRIS_PLAYLIST_ID_ITEM, id, g_free);
plugin->playlist_count++;
@@ -1507,7 +1507,7 @@ impl_activate (PeasActivatable *bplugin)
g_object_unref (ui_manager);
plugin->name_own_id = g_bus_own_name (G_BUS_TYPE_SESSION,
- MPRIS_BUS_NAME_PREFIX ".rhythmbox",
+ MPRIS_BUS_NAME_PREFIX ".rhythmbox3",
G_BUS_NAME_OWNER_FLAGS_NONE,
NULL,
(GBusNameAcquiredCallback) name_acquired_cb,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]