? gnome-session-atspi.patch
? gnome-session.patch
Index: gsm-at-startup.c
===================================================================
RCS file: /cvs/gnome/gnome-session/gnome-session/gsm-at-startup.c,v
retrieving revision 1.5
diff -u -r1.5 gsm-at-startup.c
--- gsm-at-startup.c	24 Apr 2006 21:55:25 -0000	1.5
+++ gsm-at-startup.c	14 Jul 2006 15:50:56 -0000
@@ -3,9 +3,11 @@
 
 #include "gsm-at-startup.h"
 #include "util.h"
-
+#include <gtk/gtk.h>
+#include <gnome.h>
 #include <gdk/gdk.h>
 #include <libgnome/libgnome.h>
+#include <libbonobo.h>
 #include <gconf/gconf-client.h>
 
 #define AT_STARTUP_KEY    "/desktop/gnome/accessibility/startup/exec_ats"
@@ -19,6 +21,14 @@
     g_spawn_command_line_async (exec_string, &error);
     g_free (s);
   }
+}
+ 
+void 
+gsm_assistive_registry_start ()
+{
+
+ gsm_assistive_tech_exec ("/usr/libexec/at-spi-registryd");
+
 }
 
 void 
Index: gsm-at-startup.h
===================================================================
RCS file: /cvs/gnome/gnome-session/gnome-session/gsm-at-startup.h,v
retrieving revision 1.2
diff -u -r1.2 gsm-at-startup.h
--- gsm-at-startup.h	10 Jan 2006 00:48:20 -0000	1.2
+++ gsm-at-startup.h	14 Jul 2006 15:50:56 -0000
@@ -1,6 +1,7 @@
 #ifndef GSM_AT_STARTUP_H
 #define GSM_AT_STARTUP_H
 
+void gsm_assistive_registry_start (void);
 void gsm_assistive_technologies_start (void);
 void gsm_at_set_gtk_modules (void);
 
Index: main.c
===================================================================
RCS file: /cvs/gnome/gnome-session/gnome-session/main.c,v
retrieving revision 1.78
diff -u -r1.78 main.c
--- main.c	24 Apr 2006 21:50:44 -0000	1.78
+++ main.c	14 Jul 2006 15:50:56 -0000
@@ -395,9 +395,11 @@
   gconf_client_add_dir (gconf_client, GSM_GCONF_CONFIG_PREFIX, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); 
   a_t_support = gconf_client_get_bool (gconf_client, ACCESSIBILITY_KEY, NULL);
 
-  if (a_t_support)
+  if (a_t_support){
+    gsm_assistive_registry_start ();
     gsm_at_set_gtk_modules ();
-
+  }
+   
   gnome_program_init("gnome-session", VERSION, LIBGNOMEUI_MODULE, argc, argv, 
 		  GNOME_PARAM_POPT_TABLE, options,
 		  NULL);
