diff options
author | Clement Lefebvre <[email protected]> | 2015-09-04 21:01:09 +0100 |
---|---|---|
committer | Clement Lefebvre <[email protected]> | 2015-09-04 21:42:43 +0100 |
commit | b01c41715ddad682c2e0d2a5eac8fa0deb91c5e8 (patch) | |
tree | 0cc52b63f49cefb7f0ab0d50f8cd4262ce156de8 /mate-session/gsm-manager.c | |
parent | 725910927048248426f2224762506ef7008f2429 (diff) | |
download | mate-session-manager-b01c41715ddad682c2e0d2a5eac8fa0deb91c5e8.tar.bz2 mate-session-manager-b01c41715ddad682c2e0d2a5eac8fa0deb91c5e8.tar.xz |
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..
Diffstat (limited to 'mate-session/gsm-manager.c')
-rw-r--r-- | mate-session/gsm-manager.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c index 552307c..c3c7c12 100644 --- a/mate-session/gsm-manager.c +++ b/mate-session/gsm-manager.c @@ -69,8 +69,8 @@ #define GSM_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSM_TYPE_MANAGER, GsmManagerPrivate)) -#define GSM_MANAGER_DBUS_PATH "/org/mate/SessionManager" -#define GSM_MANAGER_DBUS_NAME "org.mate.SessionManager" +#define GSM_MANAGER_DBUS_PATH "/org/gnome/SessionManager" +#define GSM_MANAGER_DBUS_NAME "org.gnome.SessionManager" #define GSM_MANAGER_PHASE_TIMEOUT 30 /* seconds */ @@ -3275,8 +3275,8 @@ user_logout (GsmManager *manager, /* dbus-send --session --type=method_call --print-reply - --dest=org.mate.SessionManager - /org/mate/SessionManager + --dest=org.gnome.SessionManager + /org/gnome/SessionManager org.freedesktop.DBus.Introspectable.Introspect */ |