Only in .: bugzilla.581819.patch
diff -rup ../gnome-session-2.26.1-orig/capplet/gsm-properties-dialog.c ./capplet/gsm-properties-dialog.c
--- ../gnome-session-2.26.1-orig/capplet/gsm-properties-dialog.c	2009-04-14 17:31:45.000000000 +0200
+++ ./capplet/gsm-properties-dialog.c	2009-08-08 07:29:55.000000000 +0200
@@ -1243,6 +1243,9 @@ on_autosave_value_toggled (GtkToggleButt
                 gconf_client_set_bool (client, SPC_GCONF_AUTOSAVE_KEY, bval, NULL);
         }
         g_object_unref (client);
+        
+        if (gval == TRUE)
+								system("rm -f ~/.config/gnome-session/saved-session/*");        
 }
 
 static void
