From: Andrej N. G. <an...@re...> - 2012-08-05 16:24:34
|
Hello! Julien Lavergne has written on Sunday, 5 August, at 18:10: >Le 08/05/2012 05:52 PM, Vadim Ushakov a écrit : >> I just wondering what was a reason to drop a real source file in favor >> of de-facto binary format. (As there are no newline characters, it is >> not human readable, in fact.) >Using .glade files is kind of deprecated, you can use directly .ui with >gtk itself. The actual files are formated as 1-line file because they >were previously generated and formated like this at build time. However, >if you open it with glade, and just save it, it should be re-formated in >a more readable way. But are you sure gtk will accept those re-formatted files without any problems? I think there was a reason to remove spaces and newlines from the files in the first place (so making .ui from .glade files). And also I don't think .glade files are ever deprecated too but they rather are text/xml files which glade produces but .ui files are the same files in compressed form (without spaces and newlines). With best wishes. Andriy. |