Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv15254

Modified Files:
        GUIObject.py 
Log Message:
Remove the GUI object from the parent when the parent changes


Index: GUIObject.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/GUIObject.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** GUIObject.py        5 Mar 2003 03:53:34 -0000       1.8
--- GUIObject.py        6 Mar 2003 19:13:14 -0000       1.9
***************
*** 8,11 ****
--- 8,14 ----
  #-----------------------------------------------------------------------
  # $Log$
+ # Revision 1.9  2003/03/06 19:13:14  dischi
+ # Remove the GUI object from the parent when the parent changes
+ #
  # Revision 1.8  2003/03/05 03:53:34  rshortt
  # More work hooking skin properties into the GUI objects, and also making
***************
*** 387,390 ****
--- 390,396 ----
          """Set the parent of this widget
          """
+         if self.parent != parent and self.parent and self in self.parent.children:
+             self.parent.children.remove(self)
+             
          self.parent = parent
  




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to