[network-manager-applet] applet: fix private D-Bus bus name
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] applet: fix private D-Bus bus name
- Date: Thu, 10 Mar 2011 07:47:57 +0000 (UTC)
commit eef723805531f82f2ae5cfbe9a3ef2a19b73a469
Author: Dan Williams <dcbw redhat com>
Date: Thu Mar 10 01:40:54 2011 -0600
applet: fix private D-Bus bus name
'-' is not a valid character in bus names or object paths, it seems.
src/applet.c | 4 ++--
src/nm-applet-introspection.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 728f579..0d94eaf 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -3105,7 +3105,7 @@ dbus_setup (NMApplet *applet, GError **error)
return FALSE;
dbus_g_connection_register_g_object (applet->session_bus,
- "/org/gnome/network-manager-applet",
+ "/org/gnome/network_manager_applet",
G_OBJECT (applet));
proxy = dbus_g_proxy_new_for_name (applet->session_bus,
@@ -3113,7 +3113,7 @@ dbus_setup (NMApplet *applet, GError **error)
DBUS_PATH_DBUS,
DBUS_INTERFACE_DBUS);
success = dbus_g_proxy_call (proxy, "RequestName", error,
- G_TYPE_STRING, "org.gnome.network-manager-applet",
+ G_TYPE_STRING, "org.gnome.network_manager_applet",
G_TYPE_UINT, DBUS_NAME_FLAG_DO_NOT_QUEUE,
G_TYPE_INVALID,
G_TYPE_UINT, &result,
diff --git a/src/nm-applet-introspection.xml b/src/nm-applet-introspection.xml
index 907eecf..3be8750 100644
--- a/src/nm-applet-introspection.xml
+++ b/src/nm-applet-introspection.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<node name="/org/gnome/network-manager-applet">
- <interface name="org.gnome.network-manager-applet">
+<node name="/org/gnome/network_manager_applet">
+ <interface name="org.gnome.network_manager_applet">
<method name="ConnectToHiddenNetwork">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_dbus_connect_to_hidden_network"/>
</method>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]