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

Modified Files:
        osd.py menu.py 
Log Message:
fix tvguide context bug

Index: osd.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/osd.py,v
retrieving revision 1.150
retrieving revision 1.151
diff -C2 -d -r1.150 -r1.151
*** osd.py      14 Mar 2004 17:46:24 -0000      1.150
--- osd.py      19 Mar 2004 21:03:39 -0000      1.151
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.151  2004/03/19 21:03:39  dischi
+ # fix tvguide context bug
+ #
  # Revision 1.150  2004/03/14 17:46:24  dischi
  # fix update for some cards
***************
*** 466,471 ****
          if _times and hasattr(self.focused_app(), 'event_context'):
              _debug_('app is %s' % self.focused_app(),2)
!             _debug_('Setting context to %s' % self.focused_app().event_context,2)
!             rc.set_context(self.focused_app().event_context)
  
  
--- 469,474 ----
          if _times and hasattr(self.focused_app(), 'event_context'):
              _debug_('app is %s' % self.focused_app(),2)
!             _debug_('Setting context to %s' % 
self.focused_app().get_event_context(),2)
!             rc.set_context(self.focused_app().get_event_context())
  
  

Index: menu.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/menu.py,v
retrieving revision 1.91
retrieving revision 1.92
diff -C2 -d -r1.91 -r1.92
*** menu.py     14 Mar 2004 19:43:27 -0000      1.91
--- menu.py     19 Mar 2004 21:03:39 -0000      1.92
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.92  2004/03/19 21:03:39  dischi
+ # fix tvguide context bug
+ #
  # Revision 1.91  2004/03/14 19:43:27  dischi
  # make it possible to create a submenu inside a plugin
***************
*** 179,182 ****
--- 182,194 ----
  
          
+     def get_event_context(self):
+         """
+         return the event context
+         """
+         if self.menustack and hasattr(self.menustack[-1], 'event_context'):
+             return self.menustack[-1].event_context
+         return self.event_context
+ 
+ 
      def show(self):
          if not self.visible:



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to