Re: Proposal to enable accessibility by default for GNOME development releases
- From: Alexander Larsson <alexl redhat com>
- To: Willie Walker <William Walker Sun COM>
- Cc: Fernando Herrera <fherrera onirica com>, Sven Herzberg <herzi-ml gnome-de org>, desktop-devel-list gnome org
- Subject: Re: Proposal to enable accessibility by default for GNOME development releases
- Date: Tue, 17 Oct 2006 08:48:20 +0200
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]