I'm not sure I understand the question, but you can manually get and set the key via:
gconftool-2 --get /desktop/gnome/interface/accessibility gconftool-2 --type bool --set /desktop/gnome/interface/accessibility true As for determining the GNOME release version, this is already done further up in the same file for which the patch was generated (gnome-session/main.c, which you can view at http://cvs.gnome.org/viewcvs/*checkout*/gnome-session/gnome-session/main.c). The patched version looks like this: versions = g_strsplit (VERSION, ".", 3); if (versions && versions [0] && versions [1]) { int major; major = atoi (versions [1]); if ((major % 2) != 0 && is_later_than_date_of_doom ()) { putenv ("G_DEBUG=fatal_criticals"); g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL); /* Also enable accessibility by default in unstable releases * of GNOME. */ a_t_support = TRUE; } } Hope this helps, Will On Mon, 2006-10-16 at 14:09 +0200, Alexander Larsson wrote: > On Mon, 2006-10-16 at 07:30 -0400, Willie Walker wrote: > > These lines are supposed to say "hey, if the key is defined, then use > > its value regardless of what the default setting is": > > > > + a_t_value = gconf_client_get (gconf_client, ACCESSIBILITY_KEY, NULL); > > + if (a_t_value) > > + a_t_support = gconf_value_get_bool (a_t_value); > > > > This allows you to disable a11y by setting the key to False. I hope > > this addresses the concern you raised. > > And how exactly do we map the current version (stable or unstable) to > this key? > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Alexander Larsson Red Hat, Inc > [EMAIL PROTECTED] [EMAIL PROTECTED] > He's a globe-trotting small-town sorceror living undercover at Ringling Bros. > Circus. She's a manipulative insomniac magician's assistant operating on the > wrong side of the law. They fight crime! > > _______________________________________________ > desktop-devel-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/desktop-devel-list _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
