[gnome-settings-daemon] main: don't die when gnome-session says Stop
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] main: don't die when gnome-session says Stop
- Date: Mon, 3 Feb 2014 10:33:38 +0000 (UTC)
commit e73148e492ff8bfa65e2195cb5002442966c58e1
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Mon Feb 3 00:59:06 2014 +0100
main: don't die when gnome-session says Stop
gnome-session asks all registered clients to stop after the user
confirms the poweroff/logout dialog, but we should ignore that
request, because non registered applications are still mapped
and they would lose their theme and icons if we die (and same
for the shell).
We will go away as soon as the X11 connection is closed or the
session bus dies anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=707790
gnome-settings-daemon/main.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 72fdeab..748a33c 100644
--- a/gnome-settings-daemon/main.c
+++ b/gnome-settings-daemon/main.c
@@ -87,9 +87,6 @@ client_proxy_signal_cb (GDBusProxy *proxy,
} else if (g_strcmp0 (signal_name, "EndSession") == 0) {
g_debug ("Got EndSession signal");
respond_to_end_session (proxy);
- } else if (g_strcmp0 (signal_name, "Stop") == 0) {
- g_debug ("Got Stop signal");
- gtk_main_quit ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]