[gnome-settings-daemon/gnome-3-10] main: don't die when gnome-session says Stop



commit fee4557de690c1acc8e56361ee33706667b6e55d
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]