Johan Dahlin
118f2e6483
Prettify the output by running it through xmllint --format if xmllint is
...
2007-06-28 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (_indent): Prettify the output by
running it through xmllint --format if xmllint is available
which also requires the subprocess module only available
in python 2.4 or later
svn path=/trunk/; revision=18281
2007-06-28 15:15:02 +00:00
Johan Dahlin
3825c65170
(GtkBuilderConverter._convert):
...
Make sure that we can convert Gazpacho files too.
svn path=/trunk/; revision=18269
2007-06-27 23:44:25 +00:00
Johan Dahlin
1aea7f0956
Remove glade-interface doctype if found.
...
2007-06-27 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
glade-interface doctype if found.
svn path=/trunk/; revision=18265
2007-06-27 23:36:47 +00:00
Johan Dahlin
927c852aa9
Encode the output in utf-8 as suggested by Bogdan Nicula
...
* gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode
the output in utf-8 as suggested by Bogdan Nicula
svn path=/trunk/; revision=18245
2007-06-26 15:21:23 +00:00
Johan Dahlin
11283609e8
Add a script to convert libglade files to something gtkbuilder can parse.
...
* gtk/gtk-builder-convert: Add a script to convert libglade files
to something gtkbuilder can parse.
Fixes #447995
svn path=/trunk/; revision=18232
2007-06-26 02:42:41 +00:00