diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-07-17 21:32:34 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-07-17 21:32:34 +0200 |
commit | 5e3436e17612011c0cb80fa032e59aaf66a6c6e2 (patch) | |
tree | d68726b5a76c593769637113abf16e72194f69a4 | |
parent | 9cf348f1679e4b5a0d238382b14753ca6e5536dd (diff) | |
download | ayatana-indicator-session-5e3436e17612011c0cb80fa032e59aaf66a6c6e2.tar.gz ayatana-indicator-session-5e3436e17612011c0cb80fa032e59aaf66a6c6e2.tar.bz2 ayatana-indicator-session-5e3436e17612011c0cb80fa032e59aaf66a6c6e2.zip |
Revert "DBus actions: Add support for logging out via GNOME/MATE session manager."
This reverts commit 938988360da9c79a1c2904bca1249c16a59cfe3f.
-rw-r--r-- | src/backend-dbus/actions.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/backend-dbus/actions.c b/src/backend-dbus/actions.c index 41e7056..d1508f4 100644 --- a/src/backend-dbus/actions.c +++ b/src/backend-dbus/actions.c @@ -92,7 +92,6 @@ typedef enum { PROMPT_NONE, PROMPT_WITH_ZENITY, - PROMPT_WITH_GNOME_SESSION_MANAGER, PROMPT_WITH_AYATANA } prompt_status_t; @@ -115,16 +114,6 @@ get_prompt_status (IndicatorSessionActionsDbus * self) g_free (name); } - /* can we use the GNOME's/MATE's session manager prompt? */ - if ((prompt == PROMPT_NONE) && p && p->session_manager) - { - GDBusProxy * proxy = G_DBUS_PROXY (p->session_manager); - char * name = g_dbus_proxy_get_name_owner (proxy); - if (name != NULL) - prompt = PROMPT_WITH_GNOME_SESSION_MANAGER;; - g_free (name); - } - /* can we use zenity? */ if ((prompt == PROMPT_NONE) && p && p->zenity) prompt = PROMPT_WITH_ZENITY; @@ -787,10 +776,6 @@ my_logout (IndicatorSessionActions * actions) show_desktop_end_session_dialog (self, END_SESSION_TYPE_LOGOUT); break; - case PROMPT_WITH_GNOME_SESSION_MANAGER: - logout_now_gnome_session_manager (self); - break; - case PROMPT_NONE: logout_now (self); break; |