GNOME Bugzilla – Bug 396436
properties view order changes with locale
Last modified: 2007-03-06 21:55:27 UTC
Steps to reproduce: 0) LANGUAGE=en glade-3 some-file.glade 1) Look at some widget's properties 2) LANGUAGE=fr glade-3 some-file.glade 3) Look at some widget's properties Results: The properties order is changed between steps 1 and 3. I'd expect instead a stable order independent of locale.
Created attachment 83845 [details] [review] proposed patch Apply this patch in addition to xjuan's patch. The problem was in glade_editor_property_class_comp: it appears the pspec->owner_type values vary with the locale! This patch seems to fix the problem. I don't know whether the g_assert_not_reached() is correct here; can this case happen?
Created attachment 84109 [details] [review] Posible fix Please, give this patch a try and let me know if its works for you.
Juan, please commit as we discussed on irc, chpe's fix with your flavour without the assertion. I sorted everything out and we're branched, so please commit to trunk and we're going to start managing a list of bugfixes pending merge approval from the release-team (this will be the first bug on the list... at home I'll commit the accelerators/ atk props to trunk and throw that on the list too). And please mark this bug fixed even if its not on the 2.18 branch yet.
ok, committed in trunk