forked from AuroraMiddleware/gtk
Do not remove empty properties, since we do not know the default
2007-09-04 Johan Dahlin <jdahlin@async.com.br> * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not remove empty properties, since we do not know the default GParamSpec values. #472981 (Carlos Garnacho) svn path=/trunk/; revision=18719
This commit is contained in:
parent
09c762904e
commit
0df0fe47d6
@ -1,3 +1,9 @@
|
||||
2007-09-04 Johan Dahlin <jdahlin@async.com.br>
|
||||
|
||||
* gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not remove
|
||||
empty properties, since we do not know the default GParamSpec values.
|
||||
#472981 (Carlos Garnacho)
|
||||
|
||||
2007-09-03 Emmanuele Bassi <ebassi@gnome.org>
|
||||
|
||||
* gtk/gtkrecentmanager.c
|
||||
|
@ -213,11 +213,6 @@ class GtkBuilderConverter(object):
|
||||
self._convert(node.getAttribute("class"), node)
|
||||
self.objects[node.getAttribute('id')] = node
|
||||
|
||||
# Remove empty properties
|
||||
for node in self._dom.getElementsByTagName('property'):
|
||||
if not node.childNodes:
|
||||
node.parentNode.removeChild(node)
|
||||
|
||||
# Convert Gazpachos UI tag
|
||||
for node in self._dom.getElementsByTagName("ui"):
|
||||
self._convert_ui(node)
|
||||
|
Loading…
Reference in New Issue
Block a user