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



Sounds fine to me.  I know zilch about the gconf stuff, and I'm only
offering some stuff as a starting point.  Since you obviously know far
more about it than I do, I think instead of a smart guy (you) exchanging
e-mail with an ignorant guy (me) to provide incremental improvements,
would you be able to work up a patch that does the right thing?  It
might save us a lot of time.

Thanks!

Will

On Tue, 2006-10-17 at 08:48 +0200, Alexander Larsson wrote:
> On Mon, 2006-10-16 at 14:20 -0400, Willie Walker wrote:
> > I'm not sure I understand the question, but you can manually get and set
> > the key via:
> 
> Maybe i'm just stupid, but it seems to me that you first set a_t_support
> depending on the version, and then run:
> 
> +  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);
> 
> Which, if the key is unset by the user, will always return the schema
> default value for the key, thereby always overwriting the previous
> version.
> 
> Shouldn't you be using gconf_client_get_without_default() here?
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander Larsson                                            Red Hat, Inc 
>                    alexl redhat com    alla lysator liu se 
> He's a maverick crooked shaman from the 'hood. She's a ditzy hip-hop 
> journalist with the soul of a mighty warrior. They fight crime! 
> 




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