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

Modified Files:
        tvmenu.py 
Log Message:
support for up/down arrows

Index: tvmenu.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/tvmenu.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tvmenu.py   8 Mar 2003 17:40:23 -0000       1.1
--- tvmenu.py   22 Mar 2003 20:05:23 -0000      1.2
***************
*** 30,33 ****
--- 30,36 ----
  DEBUG = config.DEBUG
  
+ TRUE = 1
+ FALSE = 0
+ 
  CHAN_NO_DATA = 'This channel has no data loaded'
  
***************
*** 73,76 ****
--- 76,83 ----
          self.selected      = selected
  
+         self.display_up_arrow   = FALSE
+         self.display_down_arrow = FALSE
+ 
+ 
          # table header
          table += [ ['Chan'] ]
***************
*** 89,92 ****
--- 96,100 ----
          for chan in channels:
              if n >= self.n_items:
+                 self.display_down_arrow = TRUE
                  break
              
***************
*** 94,97 ****
--- 102,108 ----
                  found_1stchannel = 1            
  
+             if not found_1stchannel:
+                 self.display_up_arrow = TRUE
+                 
              if found_1stchannel:
                  if not chan.programs:




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to