Re: Proposal to enable accessibility by default for GNOME development releases



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.

Will

On Mon, 2006-10-16 at 13:10 +0200, Alexander Larsson wrote:
> On Sun, 2006-10-15 at 20:32 -0400, Willie Walker wrote:
> > > I'd say that the best way to do this is like the code for G_DEBUG,
> > > just check gnome version in libgnomeui, and if odd number, enable it
> > > unconditionally. If even, check the gconf key.
> > 
> > Sounds good to me.  It seems like the right spot to do this might be in
> > gnome-session/main.c.  I submitted an enhancement request and potential
> > patch to gnome-session for this, though I've been unable to autogen
> > gnome-session in order to see if it works (let alone compiles):
> > 
> > http://bugzilla.gnome.org/show_bug.cgi?id=362457
> 
> I'm not sure about that. That makes it pretty hard to disable it, say if
> you want to test something without a11y.
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander Larsson                                            Red Hat, Inc 
>                    alexl redhat com    alla lysator liu se 
> He's a deeply religious overambitious romance novelist fleeing from a secret 
> government programme. She's a violent out-of-work mechanic in the witness 
> protection program. They fight crime! 
> 




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