[Xfce4-commits] r30416 - xfce4-settings/trunk/xfce4-settings-helper

Brian Tarricone kelnos at xfce.org
Wed Jul 29 21:11:56 CEST 2009


Author: kelnos
Date: 2009-07-29 19:11:56 +0000 (Wed, 29 Jul 2009)
New Revision: 30416

Modified:
   xfce4-settings/trunk/xfce4-settings-helper/main.c
Log:
set SmRestartImmediately before calling egg_sm_client_get()

Modified: xfce4-settings/trunk/xfce4-settings-helper/main.c
===================================================================
--- xfce4-settings/trunk/xfce4-settings-helper/main.c	2009-07-29 19:11:28 UTC (rev 30415)
+++ xfce4-settings/trunk/xfce4-settings-helper/main.c	2009-07-29 19:11:56 UTC (rev 30416)
@@ -279,6 +279,7 @@
 
     /* connect to session always, even if we quit below.  this way the
      * session manager won't wait for us to time out. */
+    egg_sm_client_set_mode(EGG_SM_CLIENT_MODE_RESTART_IMMEDIATELY);
     sm_client = egg_sm_client_get ();
     g_signal_connect (G_OBJECT (sm_client), "quit", G_CALLBACK (gtk_main_quit), NULL);
     in_session = egg_sm_client_is_resumed (sm_client);




More information about the Xfce4-commits mailing list