From 380490c6a2739ebe60f128806f8872cd47189641 Mon Sep 17 00:00:00 2001 From: Espen Berg Date: Sun, 9 May 2010 18:49:15 +0000 Subject: [PATCH] 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 --- src/glade.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/glade.py b/src/glade.py index b8184a18c..069f90748 100644 --- a/src/glade.py +++ b/src/glade.py @@ -212,7 +212,8 @@ class Glade(gtk.Builder): queue = [toplevel] while queue: obj = queue.pop(0) - if obj.get_name() == value: + obj_id = gtk.Buildable.get_name(obj) + if obj_id == value: return obj if hasattr(obj, 'get_children'): queue += obj.get_children()