The Selector class (in gimpui.py) only calls show() for the default item 
in the list of items it is trying to present. The cause is some bad 
indentation, which leads to item.show() appearing in the wrong scope.

The attached patch corrects this and I would be grateful if someone 
could apply this to cvs.

Cheers,

Dave
--- /home/dave/devel/gimp/gimp-1.3.15/plug-ins/pygimp/gimpui.py	2003-06-21 00:52:57.000000000 +0100
+++ gimpui.py	2003-06-21 15:37:50.000000000 +0100
@@ -198,10 +198,10 @@ class _Selector(gtk.HBox):
 	self.entry.set_text(self.selected)
 	items.sort()
 	for s in items:
-	    item = gtk.ListItem(s)
-	    list.add(item)
-	    if s == self.selected:
-		list.select_child(item)
+		item = gtk.ListItem(s)
+		list.add(item)
+		if s == self.selected:
+			list.select_child(item)
 		item.show()
 	swin.add_with_viewport(list)
 	list.show()
_______________________________________________
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to