[Glade-users] Sort order of Glade files' content
Juan Pablo
juanpablougarte at gmail.com
Sat Jan 5 12:50:43 UTC 2013
El 05/01/2013, a las 04:52, Jonathan Ballet <jon at multani.info> escribió:
> Hi,
>
> we recently move a project from hand-made Python code to using Glade to
> build the UI. I didn't do the port myself but another guy did it.
>
> Now, everything is fine and running well. However, if I try to open the
> Glade file to do some changes inside, just saving the file without
> touching anything reorder most of the content of the file : it is about
> 800 lines of XML, and just opening/saving the file produces "564
> insertions(+), 582 deletions(-)" (??)
Right, this should not happen after you saved it once with glade.
It will obviously if the file is hand edited
> This is not very acceptable if we have to do modifications in the UI
> now. I would bet that if I save the content like this and he does the
> same on his side, the content will change again.
> I'm not sure which version of Glade the other developer was using (I'll
> ask if needed), but I'm using 3.12.1 from Debian sid.
Different versions of glade specially if linked against different version of gtk might produce different output usually because of new properties.
So I recommend saving it once with glade and never hand edit it.
Greets
Jp
> Here is one of the Glade file which exposes the problem
> https://github.com/multani/sonata/blob/master/sonata/ui/sonata.glade
> h(but other from the same directory have the same problem...)
>
> Any explainations/solutions about this problem?
>
> Thanks
>
> Jon
> _______________________________________________
> Glade-users maillist - Glade-users at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-users
More information about the Glade-users
mailing list