Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18559/src/gui

Modified Files:
        Window.py 
Log Message:
prevent strange crash

Index: Window.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/Window.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Window.py   18 Feb 2004 21:52:04 -0000      1.1
--- Window.py   13 Jun 2004 19:21:39 -0000      1.2
***************
*** 8,11 ****
--- 8,14 ----
  #-----------------------------------------------------------------------
  # $Log$
+ # Revision 1.2  2004/06/13 19:21:39  dischi
+ # prevent strange crash
+ #
  # Revision 1.1  2004/02/18 21:52:04  dischi
  # Major GUI update:
***************
*** 164,167 ****
--- 167,179 ----
  
          self.get_selected_child = self.content.get_selected_child
+         if not self.content.parent:
+             print 
'******************************************************************'
+             print 'Error: content has no parent, fixing...'
+             print 'If you can reproduce this error message, please send a'
+             print 'mail with the subject \'[Freevo-Bugreport] GUI\' to'
+             print '[EMAIL PROTECTED]'
+             print 
'******************************************************************'
+             self.content.parent = self
+             
          self.content.surface = self.content.get_surface()
          self.content.draw()



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to