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

Modified Files:
        controlpanel.py 
Log Message:
adjust to new eventhandler

Index: controlpanel.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/controlpanel.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** controlpanel.py     16 Jul 2005 08:50:03 -0000      1.9
--- controlpanel.py     16 Jul 2005 08:52:25 -0000      1.10
***************
*** 36,39 ****
--- 36,41 ----
  # 
-----------------------------------------------------------------------------
  
+ import kaa.notifier
+ 
  import gui
  import gui.widgets
***************
*** 78,82 ****
  
          # listen for TOGGLE_CONTROL events
!         eventhandler.register(self, TOGGLE_CONTROL)
  
  
--- 80,84 ----
  
          # listen for TOGGLE_CONTROL events
!         kaa.notifier.EventHandler(self.eventhandler).register(TOGGLE_CONTROL)
  
  
***************
*** 266,271 ****
  
                  # show what was selected
!                 descr = self.handlers[self.p_action][0]
!                 eventhandler.post(Event(OSD_MESSAGE, arg=descr))
  
              return True
--- 268,272 ----
  
                  # show what was selected
!                 OSD_MESSAGE.post(self.handlers[self.p_action][0])
  
              return True
***************
*** 278,282 ****
              if self.hide_when_run:
                  # hide the control if configured
!                 eventhandler.post(TOGGLE_CONTROL)
  
              return True
--- 279,283 ----
              if self.hide_when_run:
                  # hide the control if configured
!                 TOGGLE_CONTROL.post()
  
              return True



-------------------------------------------------------
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