[Glade-devel] Glade 3.0.1 bugfix release
- From: damon at karuna.uklinux.net (Damon Chaplin)
- Subject: [Glade-devel] Glade 3.0.1 bugfix release
- Date: Mon, 21 Aug 2006 11:06:34 +0100
On Sun, 2006-08-20 at 14:06 -0400, Tristan Van Berkom wrote:
- Adjustments are saved witout floating point precision in the glade
file (reports of
glade-- code generator disliking the decimal points).
I think you've misunderstood the bug.
If you look at the output Jesus was seeing, note the commas:
<property name="adjustment">0,000000 0,000000 100,000000 1,000000
10,000000 10,000000</property>
The problem is that you're outputting floats using the current locale
setting, and some locales use commas instead of periods for the decimal
point.
Glade 2 handles this by changing to the "C" locale to save and load the
XML files. But I think Glib now has utility functions to convert floats
to standard strings that you could use instead.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]