aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am7
-rw-r--r--src/dbus-shared-names.h7
-rw-r--r--src/indicator-sus.c2
-rw-r--r--src/status-service-dbus.c2
4 files changed, 11 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 39d360c..bc3c9d9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -32,14 +32,14 @@ indicator_status_service_SOURCES = \
indicator_status_service_CFLAGS = $(STATUSSERVICE_CFLAGS) -Wall -Werror
indicator_status_service_LDADD = $(STATUSSERVICE_LIBS)
-status-service-client.h: status-service.xml
+status-service-client.h: $(srcdir)/status-service.xml
dbus-binding-tool \
--prefix=_status_service_client \
--mode=glib-client \
--output=status-service-client.h \
$(srcdir)/status-service.xml
-status-service-server.h: status-service.xml
+status-service-server.h: $(srcdir)/status-service.xml
dbus-binding-tool \
--prefix=_status_service_server \
--mode=glib-server \
@@ -72,3 +72,6 @@ BUILT_SOURCES = \
EXTRA_DIST = \
status-service.xml
+
+CLEANFILES = \
+ $(BUILT_SOURCES)
diff --git a/src/dbus-shared-names.h b/src/dbus-shared-names.h
index 6eb261f..a645830 100644
--- a/src/dbus-shared-names.h
+++ b/src/dbus-shared-names.h
@@ -25,13 +25,14 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define __DBUS_SHARED_NAMES_H__ 1
#define INDICATOR_STATUS_DBUS_NAME "org.ayatana.indicator.status"
-#define INDICATOR_STATUS_DBUS_OBJECT "/org/ayatana/indicator/status"
+#define INDICATOR_STATUS_DBUS_OBJECT "/org/ayatana/indicator/status/menu"
+#define INDICATOR_STATUS_SERVICE_DBUS_OBJECT "/org/ayatana/indicator/status/service"
#define INDICATOR_STATUS_SERVICE_DBUS_INTERFACE "org.ayatana.indicator.status.service"
#define INDICATOR_USERS_DBUS_NAME "org.ayatana.indicator.users"
-#define INDICATOR_USERS_DBUS_OBJECT "/org/ayatana/indicator/users"
+#define INDICATOR_USERS_DBUS_OBJECT "/org/ayatana/indicator/users/menu"
#define INDICATOR_SESSION_DBUS_NAME "org.ayatana.indicator.session"
-#define INDICATOR_SESSION_DBUS_OBJECT "/org/ayatana/indicator/session"
+#define INDICATOR_SESSION_DBUS_OBJECT "/org/ayatana/indicator/session/menu"
#endif /* __DBUS_SHARED_NAMES_H__ */
diff --git a/src/indicator-sus.c b/src/indicator-sus.c
index 5788d42..be83c29 100644
--- a/src/indicator-sus.c
+++ b/src/indicator-sus.c
@@ -210,7 +210,7 @@ connect_to_status (gpointer userdata)
status_proxy = dbus_g_proxy_new_for_name_owner(sbus,
INDICATOR_STATUS_DBUS_NAME,
- INDICATOR_STATUS_DBUS_OBJECT,
+ INDICATOR_STATUS_SERVICE_DBUS_OBJECT,
INDICATOR_STATUS_SERVICE_DBUS_INTERFACE,
&error);
diff --git a/src/status-service-dbus.c b/src/status-service-dbus.c
index f93980f..09d2711 100644
--- a/src/status-service-dbus.c
+++ b/src/status-service-dbus.c
@@ -116,7 +116,7 @@ status_service_dbus_init (StatusServiceDbus *self)
DBusGConnection * connection = dbus_g_bus_get(DBUS_BUS_SESSION, NULL);
dbus_g_connection_register_g_object(connection,
- INDICATOR_STATUS_DBUS_OBJECT,
+ INDICATOR_STATUS_SERVICE_DBUS_OBJECT,
G_OBJECT(self));
StatusServiceDbusPrivate * priv = STATUS_SERVICE_DBUS_GET_PRIVATE(self);