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);

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to