[gnome-shell] a11y: initialize clutter accessibility always.



commit 70099872ab2a2bb5e78080348c6df9444b3a87bb
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Wed Sep 3 18:45:32 2014 +0200

    a11y: initialize clutter accessibility always.
    
    In order to ensure that is clutter AtkUtil implementation the current one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735908

 src/main.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 4070482..f9fff24 100644
--- a/src/main.c
+++ b/src/main.c
@@ -260,6 +260,8 @@ shell_perf_log_init (void)
 static void
 shell_a11y_init (void)
 {
+  cally_accessibility_init ();
+
   if (clutter_get_accessibility_enabled () == FALSE)
     {
       g_warning ("Accessibility: clutter has no accessibility enabled"
@@ -422,10 +424,7 @@ main (int argc, char **argv)
   meta_set_wm_name (WM_NAME);
   meta_set_gnome_wm_keybindings (GNOME_WM_KEYBINDINGS);
 
-  /* Prevent meta_init() from causing gtk to load gail and at-bridge */
-  g_setenv ("NO_AT_BRIDGE", "1", TRUE);
   meta_init ();
-  g_unsetenv ("NO_AT_BRIDGE");
 
   /* FIXME: Add gjs API to set this stuff and don't depend on the
    * environment.  These propagate to child processes.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]