# HG changeset patch # User Thinker K.F. Li # Date 1302147889 -28800 # Node ID 7c89a4f648bd4fccf2d8d4710630acd3722b6a45 # Parent c60a978f98b1dad46b28179afc2fde51b5745912 Fix issue of removing components. Ref: ticket #35 on Assembla - It caused by misunderstanding (pygtk change it?) of APIs of PyGTK. - Fix it by calling iter_next() of data model. diff -r c60a978f98b1 -r 7c89a4f648bd pyink/comp_dock.py --- a/pyink/comp_dock.py Wed Apr 06 17:52:38 2011 +0800 +++ b/pyink/comp_dock.py Thu Apr 07 11:44:49 2011 +0800 @@ -120,7 +120,7 @@ model.remove(itr) return - itr = itr.iter_next() + itr = model.iter_next(itr) pass raise ValueError, 'unknown component name - %s' % (name)