changeset 1417:7c89a4f648bd

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.
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 07 Apr 2011 11:44:49 +0800
parents c60a978f98b1
children 485cca025a77
files pyink/comp_dock.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)