summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Lefebvre <[email protected]>2015-09-04 21:57:30 +0100
committerClement Lefebvre <[email protected]>2015-09-04 21:57:30 +0100
commit7ddb61c4cb9f17a79a935ff55244f8594b250848 (patch)
treec2766fe6e56a9c4c1f74deb5ba5a0ff339a6e68d
parent106b6907fbd05c72eabcd1d9fb77984866cdf277 (diff)
downloadmate-screensaver-7ddb61c4cb9f17a79a935ff55244f8594b250848.tar.bz2
mate-screensaver-7ddb61c4cb9f17a79a935ff55244f8594b250848.tar.xz
Switch to org.gnome.SessionManager
-rw-r--r--src/gs-listener-dbus.c6
-rw-r--r--src/gs-watcher-x11.c12
2 files changed, 9 insertions, 9 deletions
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 7f4acaa..f3dd09c 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -78,9 +78,9 @@ static DBusHandlerResult gs_listener_message_handler (DBusConnection *connec
#define CK_MANAGER_INTERFACE "org.freedesktop.ConsoleKit.Manager"
#define CK_SESSION_INTERFACE "org.freedesktop.ConsoleKit.Session"
-#define SESSION_NAME "org.mate.SessionManager"
-#define SESSION_PATH "/org/mate/SessionManager"
-#define SESSION_INTERFACE "org.mate.SessionManager"
+#define SESSION_NAME "org.gnome.SessionManager"
+#define SESSION_PATH "/org/gnome/SessionManager"
+#define SESSION_INTERFACE "org.gnome.SessionManager"
#define TYPE_MISMATCH_ERROR GS_LISTENER_INTERFACE ".TypeMismatch"
diff --git a/src/gs-watcher-x11.c b/src/gs-watcher-x11.c
index 2871512..7b5b5c5 100644
--- a/src/gs-watcher-x11.c
+++ b/src/gs-watcher-x11.c
@@ -434,9 +434,9 @@ connect_presence_watcher (GSWatcher *watcher)
error = NULL;
watcher->priv->presence_proxy = dbus_g_proxy_new_for_name_owner (bus,
- "org.mate.SessionManager",
- "/org/mate/SessionManager/Presence",
- "org.mate.SessionManager.Presence",
+ "org.gnome.SessionManager",
+ "/org/gnome/SessionManager/Presence",
+ "org.gnome.SessionManager.Presence",
&error);
if (watcher->priv->presence_proxy != NULL)
{
@@ -463,7 +463,7 @@ connect_presence_watcher (GSWatcher *watcher)
proxy = dbus_g_proxy_new_from_proxy (watcher->priv->presence_proxy,
"org.freedesktop.DBus.Properties",
- "/org/mate/SessionManager/Presence");
+ "/org/gnome/SessionManager/Presence");
if (proxy != NULL)
{
guint status;
@@ -477,7 +477,7 @@ connect_presence_watcher (GSWatcher *watcher)
dbus_g_proxy_call (proxy,
"Get",
&error,
- G_TYPE_STRING, "org.mate.SessionManager.Presence",
+ G_TYPE_STRING, "org.gnome.SessionManager.Presence",
G_TYPE_STRING, "status",
G_TYPE_INVALID,
G_TYPE_VALUE, &value,
@@ -500,7 +500,7 @@ connect_presence_watcher (GSWatcher *watcher)
dbus_g_proxy_call (proxy,
"Get",
&error,
- G_TYPE_STRING, "org.mate.SessionManager.Presence",
+ G_TYPE_STRING, "org.gnome.SessionManager.Presence",
G_TYPE_STRING, "status-text",
G_TYPE_INVALID,
G_TYPE_VALUE, &value,