Commit Graph

11 Commits

Author SHA1 Message Date
Johan Dahlin
c83ba1d9c6 (GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
tags


svn path=/trunk/; revision=18392
2007-07-07 15:50:09 +00:00
Johan Dahlin
39ee9d31ee (GtkBuilderConverter): Refactor; Optimize widget lookups by not
traversing the whole tree.
    Use a common api to create sizegroups, actiongroups and uimanagers
    to avoid name conflicts.
    Output newly created objects sorted by id before the old roots under
    <interface>


svn path=/trunk/; revision=18391
2007-07-07 15:44:30 +00:00
Johan Dahlin
6257f681d2 Convert GtkTextView::text properties
2007-07-07  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text): 
    Convert GtkTextView::text properties


svn path=/trunk/; revision=18389
2007-07-07 15:11:52 +00:00
Johan Dahlin
d606fb052a Add support for converting GtkComboBox items, also make sure that we
2007-07-04  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtk-builder-convert:
    Add support for converting GtkComboBox items, also make sure
    that we support more than one GtkAdjustment in a file


svn path=/trunk/; revision=18371
2007-07-04 03:44:38 +00:00
Johan Dahlin
0b3728b3cd Add a --root option. Filter empty properties. Convert GtkAdjustments.
2007-07-03  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a
    --root option. Filter empty properties. Convert GtkAdjustments.


svn path=/trunk/; revision=18350
2007-07-03 03:28:39 +00:00
Johan Dahlin
0c993121b1 Convert to getopt, improved documentation, change the script to require
2007-07-01  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtk-builder-convert (GtkBuilderConverter): 
    Convert to getopt, improved documentation, change
    the script to require two arguments


svn path=/trunk/; revision=18325
2007-07-01 15:58:24 +00:00
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