From b01c41715ddad682c2e0d2a5eac8fa0deb91c5e8 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Fri, 4 Sep 2015 21:01:09 +0100 Subject: Use org.gnome.SessionManager at /org/gnome/SessionManager as the DBUS API. This is necessary for compatibility and it brings support for many apps hardcoding GNOME support but also apps written in GTK (Gtk.Application taps into org.gnome.Session to register applications for a clean shutdown and for inhibition). It doesn't conflict with GNOME or Cinnamon (which both use the same name) since it's on the SessionBus. It makes mate-session aware of programs such as gedit, etc.. which might need to save people's work before logout, it brings support for totem inhibiting the session etc etc.. --- mate-session/test-inhibit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mate-session/test-inhibit.c') diff --git a/mate-session/test-inhibit.c b/mate-session/test-inhibit.c index 3e05750..fdc0744 100644 --- a/mate-session/test-inhibit.c +++ b/mate-session/test-inhibit.c @@ -30,9 +30,9 @@ #include #include -#define SM_DBUS_NAME "org.mate.SessionManager" -#define SM_DBUS_PATH "/org/mate/SessionManager" -#define SM_DBUS_INTERFACE "org.mate.SessionManager" +#define SM_DBUS_NAME "org.gnome.SessionManager" +#define SM_DBUS_PATH "/org/gnome/SessionManager" +#define SM_DBUS_INTERFACE "org.gnome.SessionManager" #ifdef __GNUC__ #define UNUSED_VARIABLE __attribute__ ((unused)) -- cgit v1.2.1