gnome_config: defaults dominating?

GNOME ximian-, RH-7.1


I am new to gnome_config (should I use gconf instead?) and my
application calls at startup only:

 gboolean play = gnome_config_get_bool("/gtetris/sound/play[=true]");

I want the attribute sound/play to be set to "true" if not determined
before, otherwise the setting shall be read from config-file.

It seems that the default value is dominant. Allthough being set to
"false" in config-file applying the macro above yields the default value
"true". (the config-file is not hand-coded).

Cheers, Frank
 Frank.Rehberger at
 The Twelve Networking Truths

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