merged 15378 from trunk. issues 3915, 3950 and 3951 (and perhaps some more?) due to a change in pygtk appears to be fixed with this patch.
svn: r15379
This commit is contained in:
parent
4a25ab7a25
commit
380490c6a2
@ -212,7 +212,8 @@ class Glade(gtk.Builder):
|
|||||||
queue = [toplevel]
|
queue = [toplevel]
|
||||||
while queue:
|
while queue:
|
||||||
obj = queue.pop(0)
|
obj = queue.pop(0)
|
||||||
if obj.get_name() == value:
|
obj_id = gtk.Buildable.get_name(obj)
|
||||||
|
if obj_id == value:
|
||||||
return obj
|
return obj
|
||||||
if hasattr(obj, 'get_children'):
|
if hasattr(obj, 'get_children'):
|
||||||
queue += obj.get_children()
|
queue += obj.get_children()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user