Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1:/tmp/cvs-serv6322

Modified Files:
        program_display.py 
Log Message:
Fix a crash if you press up/down in certain 'record' screens. 
Also, disable debug information by default; allow the global variable
to decide.


Index: program_display.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/program_display.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** program_display.py  7 Sep 2003 11:18:27 -0000       1.13
--- program_display.py  11 Sep 2003 14:10:20 -0000      1.14
***************
*** 10,13 ****
--- 10,18 ----
  #-----------------------------------------------------------------------
  # $Log$
+ # Revision 1.14  2003/09/11 14:10:20  outlyer
+ # Fix a crash if you press up/down in certain 'record' screens.
+ # Also, disable debug information by default; allow the global variable
+ # to decide.
+ #
  # Revision 1.13  2003/09/07 11:18:27  dischi
  # many optical improvements
***************
*** 67,71 ****
  from gui.AlertBox  import *
  
! DEBUG = 1
  
  
--- 72,76 ----
  from gui.AlertBox  import *
  
! DEBUG = config.DEBUG
  
  
***************
*** 189,193 ****
          if event in (em.INPUT_UP, em.INPUT_DOWN, em.INPUT_LEFT, em.INPUT_RIGHT):
              if DEBUG: print 'ProgramDisplay: should scroll'
!             return self.options.eventhandler(event)
  
          elif event == em.INPUT_ENTER:
--- 194,201 ----
          if event in (em.INPUT_UP, em.INPUT_DOWN, em.INPUT_LEFT, em.INPUT_RIGHT):
              if DEBUG: print 'ProgramDisplay: should scroll'
!             if hasattr(self,'options'):
!                 return self.options.eventhandler(event)
!             else:
!                 return
  
          elif event == em.INPUT_ENTER:




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to