gnome_config: defaults dominating?
- From: Frank Rehberger <Frank Rehberger web de>
- To: gnome <gnome-list gnome org>
- Subject: gnome_config: defaults dominating?
- Date: 19 Feb 2002 20:02:20 +0100
GNOME ximian-1.4.0.4, RH-7.1
Hello,
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 acm.org
-------------------------------------------------
The Twelve Networking Truths
http://www.ietf.org/rfc/rfc1925.txt?number=1925
-------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]