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

Modified Files:
        __init__.py eventhandler.py 
Log Message:
more eventhandler cleanups

Index: eventhandler.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/application/eventhandler.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** eventhandler.py     16 Jul 2005 13:38:34 -0000      1.4
--- eventhandler.py     16 Jul 2005 15:00:33 -0000      1.5
***************
*** 80,90 ****
  
  
- def append(application):
-     """
-     Add app the list of applications and set the focus
-     """
-     return get_singleton().append(application)
- 
- 
  def add_window(window):
      """
--- 80,83 ----
***************
*** 101,120 ****
  
  
! def get():
      """
      Return the application which has the focus or the
      WaitBox that is active
      """
!     return get_singleton().get()
! 
! 
! def is_menu():
!     """
!     Return true if the focused appliaction is the menu
!     """
!     app = get()
!     if not app:
!         return False
!     return app.get_name() == 'menu'
  
  
--- 94,103 ----
  
  
! def get_active():
      """
      Return the application which has the focus or the
      WaitBox that is active
      """
!     return get_singleton().get_active()
  
  
***************
*** 211,215 ****
                  
  
!     def get(self):
          """
          Return the application
--- 194,198 ----
                  
  
!     def get_active(self):
          """
          Return the application

Index: __init__.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/application/__init__.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** __init__.py 16 Jul 2005 10:07:24 -0000      1.4
--- __init__.py 16 Jul 2005 15:00:32 -0000      1.5
***************
*** 2,5 ****
  from menuapp import MenuApplication
  from childapp import Application as ChildApp
! from eventhandler import add_window, remove_window
! 
--- 2,4 ----
  from menuapp import MenuApplication
  from childapp import Application as ChildApp
! from eventhandler import add_window, remove_window, get_active



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to