[Glade-devel] Glade 3.0.1 bugfix release



Christof Petig wrote:
Damon Chaplin schrieb:
[...]
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.

Yes,
    I did completely overlook the commas, thanks for setting that
straight :)

I'll bugzilla that before I go home and forget :)

Cheers,
                  -Tristan




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